Code Monkey home page Code Monkey logo

Comments (4)

welcome avatar welcome commented on June 3, 2024

Thanks for opening your first issue here at xarray! Be sure to follow the issue template!
If you have an idea for a solution, we would really welcome a Pull Request with proposed changes.
See the Contributing Guide for more.
It may take us a while to respond here, but we really value your contribution. Contributors like you help make xarray better.
Thank you!

from xarray.

Mirac-Le avatar Mirac-Le commented on June 3, 2024

It would be even better if skewness and kurtosis functions could be added. Thanks a lot!

from xarray.

max-sixty avatar max-sixty commented on June 3, 2024

Someone would need to look more, but possibly this is hooking up bottleneck's move_rank in the same way bottleneck's other move_ functions.

from xarray.

Mirac-Le avatar Mirac-Le commented on June 3, 2024

Hi, max-sixty. Thanks for your reply!
I have conducted tests on pandas, xarray, and bottleneck using a randomly generated 5000*5000 ndarray containing NaN values. I found that xarray and bottleneck exhibit similar speeds, with xarray being slightly faster (based on tests involving rolling sum, mean, etc. Their results are the same. Bottleneck's move_rank does not provide a pct parameter). I noticed a statement in the xarray documentation: "rolling window aggregations are faster and use less memory when bottleneck is installed".
If it's possible to perform rolling rank, skew, kurt, and other related calculations using xarray's native functions, that would be fantastic. I've become reliant on xarray since I first learned about it and use it, and it has provided significant convenience for my project. It is fast, and the parameters are similar to those in pandas. Thanks to all the maintainers for providing us with such a great library.
I'm looking forward to the emergence of new features and your reply. Thanks again for taking the time!
:)

from xarray.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.