Skip to content
New issue

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

[Bug]: Older Version of NumPy/np has no Attribute "method" #7

Closed
1 task done
ZenithClown opened this issue Apr 21, 2024 · 2 comments
Closed
1 task done

[Bug]: Older Version of NumPy/np has no Attribute "method" #7

ZenithClown opened this issue Apr 21, 2024 · 2 comments
Assignees
Labels
bug Something isn't working enhancement New feature or request

Comments

@ZenithClown
Copy link
Member

Contact Details (optional)

No response

What happened?

As per issue: numpy/numpy#21283 the attribute interpolation was changed to method (np.__version__ > 1.22). Adding support for aggregate function for older releases may be done with a warning.

Python Version

3.9 (default)

What type of operating system are you using?

Windows 11

Relevant System Configuration

No response

Relevant log output

TypeError: _percentile_dispatcher() got an unexpected keyword argument 'method'

Code of Conduct

  • I agree to follow this project's Code of Conduct
@ZenithClown ZenithClown added bug Something isn't working enhancement New feature or request labels Apr 21, 2024
@ZenithClown ZenithClown self-assigned this Apr 21, 2024
@ZenithClown
Copy link
Member Author

ZenithClown commented Apr 21, 2024

  • Error may be interpolation can only be 'linear', 'lower' 'higher', 'midpoint', or 'nearest' - if the method/interpolation value is passed of a newer version, but the system has an older version.

@ZenithClown
Copy link
Member Author

ZenithClown commented Apr 21, 2024

  • Error may be interpolation can only be 'linear', 'lower' 'higher', 'midpoint', or 'nearest' - if the method/interpolation value is passed of a newer version, but the system has an older version.

Fixed w/o considering argument interpolation/method in aggregation, warning is raised to alert user.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant