Spaces:
Running
Running
Raine Hoang
commited on
Commit
·
96688d4
1
Parent(s):
56227e8
added summary
Browse files- polars/02_dataframes.py +14 -0
polars/02_dataframes.py
CHANGED
@@ -507,6 +507,20 @@ def _(mo):
|
|
507 |
return
|
508 |
|
509 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
510 |
@app.cell
|
511 |
def _():
|
512 |
import marimo as mo
|
|
|
507 |
return
|
508 |
|
509 |
|
510 |
+
@app.cell(hide_code=True)
|
511 |
+
def _(mo):
|
512 |
+
mo.md(
|
513 |
+
r"""
|
514 |
+
## Summary
|
515 |
+
|
516 |
+
DataFrames are a useful data structure that can be used to organize and perform additional analysis on your data. In this notebook, we have learned how to define DataFrames, what can be a DataFrame, the structure of it, and additional parameters you can set while creating it.
|
517 |
+
|
518 |
+
In order to create a DataFrame, you pass your data into the .DataFrame() method through the data parameter. The data you pass through must be either a dictionary, sequence, array, series, or pandas DataFrame. Once defined, the DataFrame will separate the data into different columns and the data within the column must have the same data type. There exists additional parameters besides data that allows you to further customize the ending DataFrame. Some examples of these are orient, strict, and infer_schema_length.
|
519 |
+
"""
|
520 |
+
)
|
521 |
+
return
|
522 |
+
|
523 |
+
|
524 |
@app.cell
|
525 |
def _():
|
526 |
import marimo as mo
|