Giter Site home page Giter Site logo

Comments (3)

JotaBlanco avatar JotaBlanco commented on May 19, 2024

Ok, interesting, I've been playing with a vectorized version of the existing from_dataframe() and this is what I've found:

  • My new code is much faster with big dataframes (above ~250 rows) and much slower with smaller dataframes.
    image

  • Given that most messages will have a low number of rows (streaming data, not batches of data), I think the current code should stay.

  • I still like to share my vectorized version for future reference, what's the best way? @peter-quix

  • Whilst doing this exercise, I found two bugs that need solving:

    • bug 1: from_dataframe brakes if there are nulls in the time column. I've raised a bug: #54
    • bug 2: from_dataframe brakes if there are complex numbers in the dataframe. I've raised a bug: #55

from quix-streams.

JotaBlanco avatar JotaBlanco commented on May 19, 2024

Btw, find here both to_dataframe() new and old and how they compare: https://github.com/quixio/quix-streams-to_dataframe_tests/blob/main/src/PythonClient/tests/quixstreams/manual/from_dataframe.ipynb

from quix-streams.

peter-quix avatar peter-quix commented on May 19, 2024

No longer relevant, new python code is not working the same way

from quix-streams.

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.