Skip to content

Instantly share code, notes, and snippets.

@QuantumDamage
Created April 13, 2017 17:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save QuantumDamage/4de80f68734d842772efe48eb576ca7c to your computer and use it in GitHub Desktop.
Save QuantumDamage/4de80f68734d842772efe48eb576ca7c to your computer and use it in GitHub Desktop.
stations = pd.read_excel("../input/Metadane_wer20160914.xlsx")
coolStation = [u'Gdańsk', u'Gdynia', u'Sopot', u'Kościerzyna']
selectedStations = stations[stations[u'Miejscowość'].isin(coolStation)]
stationCodes = set(list(selected_stations[u'Kod stacji'].values) + list(selected_stations[u'Stary Kod stacji'].values))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment