Skip to content

Commit a5a797c

Browse files
committed
CLN/ENH: Make names getattr'able in core/ops +PEP8.
Now the name passed to a method can be used to get that method from the NDFrame (previously you had things like `or_ [|]`. better to just have them all be named exactly what they are s.t. subclasses can do `getattr(super(self, MyClass), name)(*args, **kwargs)`.
1 parent f70a6e2 commit a5a797c

File tree

2 files changed

+144
-108
lines changed

2 files changed

+144
-108
lines changed

doc/source/release.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,7 @@ API Changes
304304
``SparsePanel``, etc.), now support the entire set of arithmetic operators
305305
and arithmetic flex methods (add, sub, mul, etc.). ``SparsePanel`` does not
306306
support ``pow`` or ``mod`` with non-scalars. (:issue:`3765`)
307+
- Arithemtic func factories are now passed real names (suitable for using with super) (:issue:`5240`)
307308
- Provide numpy compatibility with 1.7 for a calling convention like ``np.prod(pandas_object)`` as numpy
308309
call with additional keyword args (:issue:`4435`)
309310
- Provide __dir__ method (and local context) for tab completion / remove ipython completers code

0 commit comments

Comments
 (0)