Polars is an alternative to pandas that is designed to have better performance.
patient_data.ipynb: Jupyter notebook that explores functional differences between pandas and polars. It replicates the notebook in thepandasdirectory with the same name.polars_large_data_benchmark.ipynb: Jupyter notebook that compares the performance of polars and pandas on large data sets.create_csv_data.py: Python script to generate one or more large CSV files for benchmarking.create_csv_data.slurm: Slurm script to runcreate_csv_data.pyon a cluster.polars_performance.ipynb: Jupyter notebook that compares the performance of polars and pandas on a variety of operations.data: Directory containing the data used in the notebook.polars_execution_modes_benchmark.py: Python script that compares the performance of polars in eager and lazy execution modes.polars_query_plan.py: Python script that demonstrates how to view the query plan of a polars lazy frame.polars_datatypes.ipynb: Jupyter notebook illustrating the use of schema information when reading data.polars_missing_values.ipynb: Jupyter notebook illustrating how polars handles missing values.
Some exercises to practice your skills:
EXERCISES.md: list of exercises.EXERCISES_INSTRUCTOR.md: some hints and sketch of solutions.EXERCISES_SOLUTIONS.ipynb: Jupyter notebook with solutions to the exercises.