Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- titanic.describe()
- titanic.describe(include= 'O') # for object data types
- titanic.count(axis = "columns")
- titanic.count(axis = 1)
- titanic.mean(axis = 1)
- titanic.sum(axis = 0)
- titanic.fare.cumsum(axis = 0)
- titanic.age.unique()
- titanic.nunique(axis = 1, dropna=False)
- titanic.loc[titanic.age.idxmin()]
- titanic.nlargest(n = 5, columns = "fare")
- titanic.nsmallest(n = 1, columns = "age")
- titanic.agg(["mean", "std", "min", "max", "median"])
- titanic.agg({"survived": "mean", "age":["min", "max"]})
- titanic.corr()
- titanic.survived.corr(titanic.pclass)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement