Skip to content

Instantly share code, notes, and snippets.

@QuantumDamage
Created April 28, 2017 17:30
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/f2e9a9077ea6f22a8daec292196521d6 to your computer and use it in GitHub Desktop.
Save QuantumDamage/f2e9a9077ea6f22a8daec292196521d6 to your computer and use it in GitHub Desktop.
oneHour = bigDataFrame['2015-06-12 08:00:00':'2015-06-12 08:00:00']
oneHour.index = oneHour.index.droplevel(level=0)
oneHour["coords"] = oneHour.index.map(lambda name: map(tuple,stations[stations["Kod stacji"] == name][[u'WGS84 φ N', u'WGS84 λ E']].values)[0])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment