Skip to content

Commit 23f48ae

Browse files
authored
🔁 Update README
1 parent f2fc0bd commit 23f48ae

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,24 @@ The easiest way to install Pandas is with pip. Type in your console:
77
pip install pandas
88
```
99

10-
## Load DataFrame from CSV 🗃
10+
## Load DataFrame from a CSV File 📂
1111
Load 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 🗃
1419
Print 10 Rows from a Dateframe using an Integer Index from 10-20. (Method .read_csv("your_csv_file.csv"))
1520
```
1621
import pandas as pd
1722
1823
df = 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 🗃

0 commit comments

Comments
 (0)