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

Tutorial run through issues on Windows 10 #59

Closed
apiszcz opened this issue Jan 5, 2018 · 9 comments
Closed

Tutorial run through issues on Windows 10 #59

apiszcz opened this issue Jan 5, 2018 · 9 comments

Comments

@apiszcz
Copy link

apiszcz commented Jan 5, 2018

Platform, Windows 10, Python 3.5
The same codes works correctly according to tutorial on CENTOS/LINUX

#1 'warning'

>>> import vaex
>>> ds = vaex.example()
lib\h5py\__init__.py:36: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`.
  from ._conv import register_converters as _register_converters

NOTE

>>> ds.get_column_names()
['E', 'FeH', 'L', 'Lz', 'random_index', 'vx', 'vy', 'vz', 'x', 'y', 'z']

>>> ds.max('x')
array(271.365997)

#2 'Is this due to an installation error'?

import vaex
ds = vaex.example()  # open the example dataset provided with vaex
ds[ds.x < 0]

---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-10-bd4c28c4abd5> in <module>()
      1 import vaex
      2 ds = vaex.example()  # open the example dataset provided with vaex
----> 3 ds[ds.x < 0]

AttributeError: 'Hdf5MemoryMapped' object has no attribute 'x'
@apiszcz apiszcz changed the title Tutorial run through issues Tutorial run through issues on Windows 10 Jan 5, 2018
@apiszcz
Copy link
Author

apiszcz commented Jan 5, 2018

Installation issues, most resolved.

@apiszcz apiszcz closed this as completed Jan 5, 2018
@maartenbreddels
Copy link
Member

You are quicker than me, I assume you didn't use the --pre flag for pip?

@apiszcz
Copy link
Author

apiszcz commented Jan 5, 2018 via email

@apiszcz
Copy link
Author

apiszcz commented Jan 5, 2018 via email

@maartenbreddels
Copy link
Member

Odd, there have been quite some changes now, before vaex was a single package, now it's multiple.
What could help is this:

$ pip uninstall vaex vaex-core
$ pip install vaex-core vaex-viz vaex-hdf5

That should most likely work. Feedback is appreciated.

@apiszcz
Copy link
Author

apiszcz commented Jan 5, 2018 via email

@apiszcz
Copy link
Author

apiszcz commented Jan 5, 2018 via email

@maartenbreddels
Copy link
Member

See also the dicussion here: holoviz/datashader#310 but would be happy to see your findings. There has been a change in the underlying c code that may have impacted performance (if any, most likely negative) and I did not benchmark it again, although I plan to do so next week.

@apiszcz
Copy link
Author

apiszcz commented Jan 5, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants