Spaces:
Sleeping
Sleeping
updated text under intuitive syntax
Browse filesCo-authored-by: Akshay Agrawal <[email protected]>
- polars/01_why_polars.py +3 -1
polars/01_why_polars.py
CHANGED
@@ -55,7 +55,9 @@ def _(mo):
|
|
55 |
"""
|
56 |
### Intuitive syntax
|
57 |
|
58 |
-
Polars
|
|
|
|
|
59 |
|
60 |
**Example: Filtering and Aggregating Data**
|
61 |
|
|
|
55 |
"""
|
56 |
### Intuitive syntax
|
57 |
|
58 |
+
Polars' syntax is similar to PySpark and intuitive like SQL, making heavy use of **method chaining**. This makes it easy for data professionals to transition to Polars, and leads to an API that is more concise and readable than Pandas.
|
59 |
+
|
60 |
+
**Example.** In the next few cells, we contrast the code to perform a basic filter and aggregation of data with Pandas to the code required to accomplish the same task with `Polars`.
|
61 |
|
62 |
**Example: Filtering and Aggregating Data**
|
63 |
|