pandas 0.9.1 documentation

pandas.Series.get

Series.get(label, default=None)

Returns value occupying requested label, default to specified missing value if not present. Analogous to dict.get

Parameters :

label : object

Label value looking for

default : object, optional

Value to return if label not in index

Returns :

y : scalar