Extensions¶
Accessors¶
Accessors can be written and registered with pandas-on-Spark Dataframes, Series, and Index objects. Accessors allow developers to extend the functionality of pandas-on-Spark objects seamlessly by writing arbitrary classes and methods which are then wrapped in one of the following decorators.
Register a custom accessor with a DataFrame |
|
|
Register a custom accessor with a Series object |
|
Register a custom accessor with an Index |