We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Uses only numeric values even when numeric_only=False. We should be consistent with pandas and throw TypeErrors
numeric_only=False
TypeError
import modin.pandas as pd data = { "col1": 1.0, "col2": np.datetime64("2011-06-15T00:00"), "col3": np.array([3] * 4, dtype="int32"), "col4": "foo", "col5": True, } modin_df = pd.DataFrame(data) modin_df.median(axis='rows', skipna = False, numeric_only = False)
Should throw a TypeError but returns
col1 1.0 col3 3.0 col5 1.0 dtype: float64
as if numeric_only=True
numeric_only=True
The text was updated successfully, but these errors were encountered:
williamma12
Successfully merging a pull request may close this issue.
Describe the problem
Uses only numeric values even when
numeric_only=False
. We should be consistent with pandas and throwTypeError
sSource code / logs
Should throw a
TypeError
but returnsas if
numeric_only=True
The text was updated successfully, but these errors were encountered: