Finally figure out how to clean the raw_data

implement uses the attribute iloc of dataframe, which isn't present in
version 0.9.* but is in version 0.11.0.