Koushik Khan akshayka commited on
Commit
912d45e
·
unverified ·
1 Parent(s): 7be0656

updated text under intuitive syntax

Browse files

Co-authored-by: Akshay Agrawal <[email protected]>

Files changed (1) hide show
  1. 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 is designed with a syntax that is very similar to PySpark while being intuitive like SQL. This makes it easier for data professionals to transition to Polars without a steep learning curve. For example:
 
 
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