We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5a42177 commit deb43fcCopy full SHA for deb43fc
powerplantmatching/__init__.py
@@ -33,6 +33,22 @@
33
34
@pd.api.extensions.register_dataframe_accessor("powerplant")
35
class PowerPlantAccessor(utils.Accessor):
36
+ """
37
+ Accessor object for DataFrames created with powerplantmatching.
38
+ This simplifies the access to common functions applicable to dataframes
39
+ with powerplant data. Note even though this is a general DataFrame
40
+ accessor, the functions will only work for powerplantmatching related
41
+ DataFrames.
42
+
43
44
+ Examples
45
+ --------
46
47
+ import powerplantmatching as pm
48
+ entsoe = pm.data.ENTSOE()
49
+ entsoe.powerplant.plot_aggregated()
50
51
52
def __init__(self, pandas_obj):
53
self._obj = pandas_obj
54
0 commit comments