数据分析week01

71 阅读1分钟

Scientifics Computing Libraries in Python

image.png

Visualization Libraries

image.png

Algorithmic Libraries

image.png

Printing the dataframe

  • df prints the entire dataframe(not recommended for large datasets)
  • df.head(n) to show the first n rows of data frame
  • df.tail(n) to show the bottom n rows of data frame

adding headers

  • headers = ["header1","header2","header3"]
  • Replace default header by df.colums=headers

read or save file

  • (this course only read and save .csv file
  • readpd.read_csv()and savedf.to_csv()`