There's more...

Both .iat and .at work with Series as well. Pass them a single scalar value, and they will return a scalar:

>>> state = college['STABBR']   # Select a Series
>>> state.iat[1000]
'IL'

>>> state.at['Stanford University']
'CA'
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset