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:
7
7
pip install pandas
8
8
```
9
9
10
- ## Load DataFrame from CSV 🗃
10
+ ## Load DataFrame from a CSV File 📂
11
11
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
+ ```
12
17
13
18
## Print Rows from a Dateframe using an Integer Index 🗃
14
19
Print 10 Rows from a Dateframe using an Integer Index from 10-20. (Method .read_csv("your_csv_file.csv"))
15
20
```
16
21
import pandas as pd
17
22
18
23
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])
19
28
```
20
29
21
30
## Print the first Rows from a Dateframe 🗃
You can’t perform that action at this time.
0 commit comments