File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -7,15 +7,24 @@ The easiest way to install Pandas is with pip. Type in your console:
77pip install pandas
88```
99
10- ## Load DataFrame from CSV 🗃
10+ ## Load DataFrame from a CSV File 📂
1111Load a DateFrame from a CSV File. (Method .iloc[ from: to ] )
12+ ```
13+ import pandas as pd
14+
15+ df = pd.read_csv("new_york_city.csv")
16+ ```
1217
1318## Print Rows from a Dateframe using an Integer Index 🗃
1419Print 10 Rows from a Dateframe using an Integer Index from 10-20. (Method .read_csv("your_csv_file.csv"))
1520```
1621import pandas as pd
1722
1823df = pd.read_csv("new_york_city.csv")
24+
25+ # Print 10 Rows from Dateframe with Integer Index from 10-20
26+
27+ print(df.iloc[10:20])
1928```
2029
2130## Print the first Rows from a Dateframe 🗃
You can’t perform that action at this time.
0 commit comments