Advertisement
Guest User

Untitled

a guest
Sep 19th, 2019
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. import pandas as pd, numpy as np import matplotlib.pyplot as plt %matplotlib inline
  2. # Read in the dataset dev_df = pd.read_csv('/content/SF_DF.csv')
  3.  
  4. # joining the regions df so that I can filter by SF region
  5.  
  6. regions = pd.read_csv('/content/region_ids.csv')
  7.  
  8. dev_df = pd.merge(dev_df, regions, 'inner', left_on='start_station_id', right_on='station_id'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement