CLN/ENH: Make names getattr'able in core/ops +PEP8. by jtratner · Pull Request #5240 · pandas-dev/pandas (original) (raw)

jtratner

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).

@jtratner

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).

@jreback

jtratner added a commit that referenced this pull request

Oct 16, 2013

@jtratner

CLN/ENH: Make names getattr'able in core/ops +PEP8.