import pandas as pd
valorant = pd.DataFrame({
"Name": [
"Respect",
"Asuna",
"Runi",
],
"K/D": [
1.0,
2.0,
1.2,
],
"Agent": [
"Omen",
"Raze",
"Sova",
],
})
valorant
valorant["K/D"].min()
ages = pd.Series([12, 231, 14, 15, 16], name="Age")
ages
ages.max()
valorant.describe()
K/D | |
---|---|
count | 3.00000 |
mean | 1.40000 |
std | 0.52915 |
min | 1.00000 |
25% | 1.10000 |
50% | 1.20000 |
75% | 1.60000 |
max | 2.00000 |
import pandas as pd
import matplotlib.pyplot as plt
valorant_players = pd.read_csv("/Users/aidanlau/Downloads/vscode/student/csv/players.csv", index_col=0, parse_dates=True)
valorant_players.head()
valorant_players.plot()
plt.show()