You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
When converting from an astropyTable object, vaex will silently drop two-dimensional columns. Adding a UserWarning or successfully converting them would be a viable fix.
A min reproducible is provided below:
>>> from astropy.table import Table
>>> import vaex as vx
>>> import numpy as np
>>> data = {'foo': np.ones(100), 'bar': np.ones((100,2)), 'apple': np.zeros(100)}
>>> t = Table(data)
>>> t
<Table length=100>
foo bar apple
float64 float64[2] float64
------- ---------- -------
1.0 1.0 .. 1.0 0.0
1.0 1.0 .. 1.0 0.0
... ... ...
1.0 1.0 .. 1.0 0.0
>>> vx.from_astropy_table(t)
# foo apple
0 1.0 0.0
1 1.0 0.0
... ... ...
Description
When converting from an
astropy
Table
object, vaex will silently drop two-dimensional columns. Adding aUserWarning
or successfully converting them would be a viable fix.A min reproducible is provided below:
The column
bar
is silently dropped.Software information
Additional information
Please state any supplementary information or provide additional context for the problem (e.g. screenshots, data, etc..).
The text was updated successfully, but these errors were encountered: