Skip to content

Commit 85340c8

Browse files
authored
🔁 Update README
1 parent 3ddb1d5 commit 85340c8

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# 🐍 Pandas-Python-Data-Analysis-Playground 📊📈
1+
# 🐍 Pandas Python Data Analysis Playground 📊📈
22
🐍 Python Data Analysis with the Pandas Library 📊📈
33

44
## Installation Pandas ⬇️
@@ -30,3 +30,16 @@ df = pd.read_csv("new_york_city.csv")
3030
3131
print(df.head(10))
3232
```
33+
34+
35+
## Print Rows from a Dateframe and sort them with an attribute 🗃
36+
Print 10 Rows from a Dateframe using an Integer Index from 0-10 and sort them with an attribute. (Method .sort_values(["Start Time"]))
37+
```
38+
import pandas as pd
39+
40+
df = pd.read_csv("new_york_city.csv")
41+
42+
# Prints the first 10 Rows, sorted by Start Time
43+
44+
print(df.iloc[0:10].sort_values(["Start Time"]))
45+
```

0 commit comments

Comments
 (0)