Skip to content

Commit 0bf2eeb

Browse files
committed
Post final QA fixes
1 parent 3c2d69f commit 0bf2eeb

File tree

2 files changed

+23
-956
lines changed

2 files changed

+23
-956
lines changed

polars-groupby/README.md

Lines changed: 23 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,27 @@
1-
This download contains materials for the Real Python tutorial [How to Group Data Using Polars .group_by()](https://realpython.com/aggregating-and-grouping-data-in-polars-groupby/).
1+
# How to Group Data Using Polars `.group_by()`
22

3-
You should create a new folder named aggregations on your computer and place each of these files inside it. You may also consider creating a [Python virtual environment](https://realpython.com/python-virtual-environments-a-primer/) within this folder.
3+
This download contains materials for the Real Python tutorial [How to Group Data Using Polars `.group_by()`](https://realpython.com/polars-groupby/).
44

5-
Your download bundle contains the following files:
5+
## Installation
6+
7+
Create a [Python virtual environment](https://realpython.com/python-virtual-environments-a-primer/), activate it, and install Polars along with its dependencies into it:
8+
9+
```sh
10+
$ python -m venv venv/
11+
$ source venv/bin/activate
12+
(venv) $ python -m pip install polars
13+
```
614

7-
course.parquet - This file contains all data from both `math.parquet` and `portuguese.parquet`.
8-
math.parquet - This file contains data relating to a mathematics class.
9-
portuguese.parquet - This file contains data relating to a Portuguese language class.
10-
student.txt - This file defines every field in the three files above.
11-
math_classes.parquet - This file contains data used in the time series analysis examples.
15+
## Contents
16+
17+
Your download bundle contains the following files:
1218

13-
tutorial_code.ipynb - This file contains the code used in the tutorial.
14-
solutions.ipynb - This file contains the solutions to the exercises.
19+
| Filename | Description |
20+
|------------------------ |------------------------------------------------------------ |
21+
| `course.parquet` | All data from both `math.parquet` and `portuguese.parquet` |
22+
| `math.parquet` | Data relating to a mathematics class |
23+
| `portuguese.parquet` | Data relating to a Portuguese language class |
24+
| `student.txt` | Defines every field in the three files above |
25+
| `math_classes.parquet` | Data used in the time series analysis examples |
26+
| `tutorial_code.ipynb` | The code used in the tutorial |
27+
| `solutions.ipynb` | The solutions to the exercises |

0 commit comments

Comments
 (0)