# Data analysis with python 2

## Continued data analysis with python: I'm a beginner

Data reading
`train = pd.read_csv("train.csv")`

View the contents of the data
`train.head()`

View the number of rows and columns of data
`train.shape`

See the mean and median of y
`train["y"].mean()`

`train["y"].median()`

Draw a line graph of y of train
`train["y"].plot()`