pandas study notes (2): Viewing data
- (1) Here is how to view the top and bottom of the frame
- The data of df2 is
- View head and tail data
df2.head()
df2.tail()
- (2) Display index, column
df2.index
df2.columns
- (3) DataFrame.to_numpy() provides a NumPy representation of the underlying data
- (4) describe() can statically display a summary of the data
- (5) Use T to transpose data
- (6) Use axis arrangement
- (7) Specify a column for orderly arrangement