Skip to content

Commit 1b1bf16

Browse files
committed
Update docs
1 parent 37ff708 commit 1b1bf16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/source/development/extending.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ you can retain subclasses through ``pandas`` data manipulations.
331331

332332
There are 3 possible constructor properties to be defined on a subclass:
333333

334-
* ``DataFrame/Series._constructor``: Used when a manipulation result has the same (sub-)class as the original.
334+
* ``DataFrame/Series._constructor``: Used when a manipulation result has the same dimension as the original.
335335
* ``DataFrame._constructor_sliced``: Used when a ``DataFrame`` (sub-)class manipulation result should be a ``Series`` (sub-)class.
336336
* ``Series._constructor_expanddim``: Used when a ``Series`` (sub-)class manipulation result should be a ``DataFrame`` (sub-)class, e.g. ``Series.to_frame()``.
337337

0 commit comments

Comments
 (0)