Skip to content

Instantly share code, notes, and snippets.

@robyoung
Created June 1, 2012 11:11
Show Gist options
  • Save robyoung/2851281 to your computer and use it in GitHub Desktop.
Save robyoung/2851281 to your computer and use it in GitHub Desktop.
import pandas
table = pandas.read_csv("my_data.csv")
series = table[table['field1'] == "field1-value"]["field2"]
# now how do I get the first value in `series`?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment