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

label : object
Label value looking for
default : object, optional
Value to return if label not in index

y : scalar