changed tabs to spaces
weight is already a pandas series with the same index as transform_df