File tree Expand file tree Collapse file tree
third_party/bigframes_vendored/pandas/core Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -31,6 +31,11 @@ def decorator(target_class):
3131 if hasattr (source_item , "__doc__" ) and source_item .__doc__ :
3232 try :
3333 target_item .__doc__ = source_item .__doc__
34+ if isinstance (target_item , property ) and target_item .fget :
35+ try :
36+ target_item .fget .__doc__ = source_item .__doc__
37+ except AttributeError :
38+ pass
3439 except AttributeError :
3540 pass
3641
Original file line number Diff line number Diff line change 2121from bigframes .core .groupby .series_group_by import SeriesGroupBy
2222from bigframes .core .window import Window
2323from bigframes .operations .datetimes import DatetimeMethods
24+ from bigframes .operations .plotting import PlotAccessor
2425from bigframes .operations .strings import StringMethods
2526from bigframes .operations .structs import StructAccessor , StructFrameAccessor
2627
2728__all__ = [
2829 "DataFrameGroupBy" ,
2930 "DatetimeMethods" ,
31+ "PlotAccessor" ,
3032 "SeriesGroupBy" ,
3133 "StringMethods" ,
3234 "StructAccessor" ,
Original file line number Diff line number Diff line change 4242 - name : DataFrame
4343 uid : bigframes.dataframe.DataFrame
4444 - name : PlotAccessor
45- uid : bigframes.operations.plotting .PlotAccessor
45+ uid : bigframes.pandas.api.typing .PlotAccessor
4646 - name : StructAccessor
4747 uid : bigframes.operations.structs.StructFrameAccessor
4848 name : DataFrame
8686 - name : ListAccessor
8787 uid : bigframes.operations.lists.ListAccessor
8888 - name : PlotAccessor
89- uid : bigframes.operations.plotting .PlotAccessor
89+ uid : bigframes.pandas.api.typing .PlotAccessor
9090 name : Series
9191 - name : Window
9292 uid : bigframes.core.window.Window
Original file line number Diff line number Diff line change @@ -7335,7 +7335,7 @@ def plot(self):
73357335 Make plots of Dataframes.
73367336
73377337 Returns:
7338- bigframes.operations.plotting .PlotAccessor:
7338+ bigframes.pandas.api.typing .PlotAccessor:
73397339 An accessor making plots.
73407340 """
73417341 raise NotImplementedError (constants .ABSTRACT_METHOD_ERROR_MESSAGE )
Original file line number Diff line number Diff line change @@ -5450,7 +5450,7 @@ def plot(self):
54505450 <Axes: title={'center': 'My plot'}, ylabel='Frequency'>
54515451
54525452 Returns:
5453- bigframes.operations.plotting .PlotAccessor:
5453+ bigframes.pandas.api.typing .PlotAccessor:
54545454 An accessor making plots.
54555455 """
54565456 raise NotImplementedError (constants .ABSTRACT_METHOD_ERROR_MESSAGE )
You can’t perform that action at this time.
0 commit comments