Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Import the pandas module
- import pandas as pd
- df_groups = pd.read_csv('data/CTA_BUS_ROUTE_GROUPS.csv')
- df_groups.dropna(how='any', inplace=True)
- df_groups.set_index(['route', 'routename'], inplace=True)
- df_groups.head()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement