Advertisement
Guest User

Untitled

a guest
Apr 29th, 2017
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. # Import the pandas module
  2. import pandas as pd
  3. df_groups = pd.read_csv('data/CTA_BUS_ROUTE_GROUPS.csv')
  4. df_groups.dropna(how='any', inplace=True)
  5. df_groups.set_index(['route', 'routename'], inplace=True)
  6. df_groups.head()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement