pandas_building_dataset.py 281 B

1234567891011121314
  1. import quandl
  2. import pandas as pd
  3. api_key = 'rFsSehe51RLzREtYhLfo'
  4. # df = quandl.get('FMAC/HPI_AK', authtoken = api_key)
  5. fifty_states = pd.read_html('https://simple.wikipedia.org/wiki/List_of_U.S._states')
  6. for abbv in fifty_states[0][0][1:]:
  7. print('FMAC/HPI_' + str(abbv))