modin.pandas.Series.get¶
- Series.get(key, default=None)[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.23.0/../../../../../opt/hostedtoolcache/Python/3.9.20/x64/lib/python3.9/site-packages/modin/pandas/base.py#L1837-L1845)¶
Get item from object for given key (ex: DataFrame column).
Returns default value if not found.
- Parameters:
key (object) –
- Return type:
same type as items contained in object
Examples
Notes
Generally Snowpark pandas won’t raise KeyError or IndexError if any key is not found. So the result of get will be a result with existing keys or an empty result if no key is found. Default value won’t be used.