中文教程传送门:tensorflow中文社区http://www.tensorfly.cn/tfdoc/tutorials/overview.html
我看的教程:https://www.guru99.com/python-pandas-tutorial.html
中文pandas介绍(简书):https://www.jianshu.com/p/d9774cf1fea5
import data | read_csv |
create series | Series |
Create Dataframe | DataFrame |
Create date range | date_range |
return head | head |
return tail | tail |
Describe | describe |
slice using name | dataname['columnname'] |
Slice using rows | data_name[0:5] |
pandas.read_csv(filepath_or_buffer,sep=', ',`names=None`,`index_col=None`,`skipinitialspace=False`)
- filepath_or_buffer: Path or URL with the data
- sep=', ': Define the delimiter to use
- `names=None`: Name the columns. If the dataset has ten columns, you need to pass ten names
- `index_col=None`: If yes, the first column is used as a row index
- `skipinitialspace=False`: Skip spaces after delimiter.