We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e460550 commit 87cc9dcCopy full SHA for 87cc9dc
pandas/core/accessor.py
@@ -13,7 +13,10 @@
13
)
14
import warnings
15
16
-from pandas.util._decorators import doc, Appender
+from pandas.util._decorators import (
17
+ Appender,
18
+ doc,
19
+)
20
from pandas.util._exceptions import find_stack_level
21
22
@@ -340,7 +343,7 @@ def __init__(self, pandas_obj):
340
343
self._obj = pandas_obj
341
344
342
345
def sum(self):
- return self._obj.sum()
346
+ return self._obj.sum()
347
348
349
Back in an interactive IPython session:
@@ -400,6 +403,7 @@ def even(self):
400
403
[2,8]
401
404
"""
402
405
406
+
407
@Appender(_index_doc)
408
@doc(_register_accessor, klass="Index")
409
def register_index_accessor(name: str):
0 commit comments