pandas DataFrame common data check operations

原创转载请注明出处:https://www.cnblogs.com/agilestyle/p/12256178.html

 

DataFrame 常用查看数据的操作

 

df.head()

df.tail()

 

df.index,df.columns,df.values,df.shape

 

df.info()

 

df.count()

 

df.date.nunique() ,df.date.unique()

 

Reference

Python for Data Analysis Second Edition

https://media.geeksforgeeks.org/wp-content/uploads/nba.csv

 

posted @ 2020-02-03 16:30  李白与酒  阅读(234)  评论(0编辑  收藏  举报