pandas.DataFrame.get

DataFrame.get(key, default=None)[source]

Get item from object for given key (DataFrame column, Panel slice, etc.). Returns default value if not found.

Parameters:
key : object
Returns:
value : same type as items contained in object
Scroll To Top