You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The description, meanwhile, includes 'numeric_only':
numeric_only : bool, default None
Include only float, int, boolean columns. If None, will attempt to use everything, then use only numeric data. Not implemented for Series.
Passing the numeric_only parameter to mad will throw an error, as one would expect.
It looks like both mad and compound are using the @Appender(_num_doc) decorator, which points to a description that includes the numeric_only parameter even though neither of those methods use numeric_only.
The compound method is being deprecated, so that may be less of an issue.
There are a couple of different ways I could think to fix it, but I just wanted to confirm that I had this right before I did anything.
The text was updated successfully, but these errors were encountered:
Problem description
I noticed a small mismatch between the function signature of
mad
and its description here:The function signature is correct:
The description, meanwhile, includes 'numeric_only':
Passing the
numeric_only
parameter tomad
will throw an error, as one would expect.It looks like both
mad
andcompound
are using the@Appender(_num_doc)
decorator, which points to a description that includes thenumeric_only
parameter even though neither of those methods usenumeric_only
.The
compound
method is being deprecated, so that may be less of an issue.There are a couple of different ways I could think to fix it, but I just wanted to confirm that I had this right before I did anything.
The text was updated successfully, but these errors were encountered: