Importing CSV & Excel files into a Polars DataFrame!

Опубликовано: 08 Январь 2024
на канале: Adrian Dolinay
562
7

To import a CSV or Excel file into polars run the following:
1. Bring up Python
2. import polars as pl
3. Read the data by running "df = pl.read_csv('file.csv')" or "df = pl.read_excel('file.xlsx')"
4. Check out the data by running "df.head()"

CONNECT:
LinkedIn:   / adrian-dolinay-frm-96a289106  
GitHub: https://github.com/ad17171717
Twitter:   / dolinayg  
Odysee: https://odysee.com/@adriandolinay:0
Medium:   / adriandolinay