Giter Site home page Giter Site logo

Comments (9)

maartenbreddels avatar maartenbreddels commented on April 28, 2024

That should not happen, which version are you using?

from vaex.

mfouesneau avatar mfouesneau commented on April 28, 2024

version gives me 1.0.0-beta.4

from vaex.

maartenbreddels avatar maartenbreddels commented on April 28, 2024

Doing the following:

import vaex as vx
import numpy as np
ds = vx.from_arrays(f8=np.arange(10, dtype='f8'), i8=np.arange(10, dtype='i8'))
ds.evaluate('f8').dtype, ds.evaluate('i8').dtype, 

Gives me:

(dtype('float64'), dtype('int64'))

Can you check if you get the same?
If you don't get that, can you update to beta 6 and let me know if that fixes it?

from vaex.

mfouesneau avatar mfouesneau commented on April 28, 2024

In [1]: import vaex as vx
...: import numpy as np
...: ds = vx.from_arrays(f8=np.arange(10, dtype='f8'), i8=np.arange(10, dtype='i8'))
...: ds.evaluate('f8').dtype, ds.evaluate('i8').dtype,
...:
Out[1]: (dtype('float64'), dtype('float64'))

from vaex.

mfouesneau avatar mfouesneau commented on April 28, 2024

How do I install the new beta? conda-forge does not have it and pip seems to want 0.3.10 something

correction: pip install --pre vaex

from vaex.

mfouesneau avatar mfouesneau commented on April 28, 2024

The API changed between versions.
from_arrays does not take a dataset name argument anymore.

Do you have the major breaking changes in the API somewhere?
(actually major changes like adding scatter etc, as the documentation does not tell when it is created)

from vaex.

maartenbreddels avatar maartenbreddels commented on April 28, 2024

Conda-forge has beta6 (see https://anaconda.org/conda-forge/vaex), and installing from pip you indeed should use the --pre flag.
And indeed, that was a breaking api change, that was a bad decision to take a name argument.
I plan to keep a public changelog after the 1.0 release, changes are prefixed in the commit msg'es by 'changes:' for now, new features with 'new:' and fixes with 'fix:'.

Please let me know if you've managed to get this working.
(Sorry for the late reaction, I was traveling)

from vaex.

mfouesneau avatar mfouesneau commented on April 28, 2024

yes I looked at the source to figure the changes in some places. It works!

FYI, the healpix_plot doc needs updates or the code needs to be generalized. It currently imposes Gaia conventions that are not healpy defaults. (nested not ring for instance). I can open an issue if you need.

from vaex.

maartenbreddels avatar maartenbreddels commented on April 28, 2024

Please do, we can discuss further.

from vaex.

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.