prepare.py 309 B

1234567891011121314
  1. #!/usr/bin/env python3
  2. from pandas import DataFrame, read_csv
  3. import pandas as pd
  4. geber_file = 'dm-geber.csv'
  5. uni_file = 'dm-unis.csv'
  6. geber_df = pd.read_csv(geber_file)
  7. uni_df = pd.read_csv(uni_file)
  8. uni_df = uni_df[id].apply(set)
  9. geber_df = geber_df[id].apply(set)
  10. print(geber_df.size)
  11. print(uni_df.size)