We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3ddb1d5 commit 85340c8Copy full SHA for 85340c8
README.md
@@ -1,4 +1,4 @@
1
-# 🐍 Pandas-Python-Data-Analysis-Playground 📊📈
+# 🐍 Pandas Python Data Analysis Playground 📊📈
2
🐍 Python Data Analysis with the Pandas Library 📊📈
3
4
## Installation Pandas ⬇️
@@ -30,3 +30,16 @@ df = pd.read_csv("new_york_city.csv")
30
31
print(df.head(10))
32
```
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