Try Manipulating DataFrames with pandas
Download PDF