vaexio / vaex

Out-of-Core hybrid Apache Arrow/NumPy DataFrame for Python, ML, visualization and exploration of big tabular data at a billion rows per second 🚀
https://vaex.io
MIT License
8.28k stars 589 forks source link

Indexing Problem, when importing CSV file since Version update #1143

Open darbab2s opened 3 years ago

darbab2s commented 3 years ago

I installed vaex a few months ago (like 3 or so). I updated it yesterday.

Now when i import a CSV file via df = vaex.from_csv('assets/annotation_example3.txt',delimiter=";") it results in this: grafik

instead of this: grafik

1dPlots like this work fine: df.plot1d(df.value) and produce: grafik

but when i try to plot a heatmap via display(df[df['sign'] == 'n'].widget.heatmap('value','backvalue', colorbar= True, c = 'Green')) it results in this: grafik

instead of the nice heatmap that i got before updating grafik

what am i doing wrong?

I really like your work, but currently i cant find ways to get my code(more than what is shown here) to work since the update.

maartenbreddels commented 3 years ago

I updated it yesterday.

which versions do you have installed now? (pip list | grep vaex)

darbab2s commented 3 years ago

grafik

darbab2s commented 3 years ago

Do you need any further information?

Also i was wondering why i even got vaex 3 via the pip install command in the 4.0 docs and not version 4, which version do i get if i use the github sources?

maartenbreddels commented 3 years ago

because vaex v4 is still an alpha release, you can get it by ...

# being specific
$ pip install vaex==4.0.0a8
# or ask for pre releases
$ pip install vaex --pre

Could you try upgrading first. I still don't get why you see that really old heatmap though with vaex-jupyter 0.5.2

darbab2s commented 3 years ago

upgrading just resulted in a lot of Requirements already satisfied, nothing new.

maartenbreddels commented 3 years ago

but, do you still have vaex 3?

darbab2s commented 3 years ago

same as before grafik

maartenbreddels commented 3 years ago

pip install vaex==4.0.0a8 should change that.

darbab2s commented 3 years ago

Now i´m getting an ImportError: DLL load failed: on import vaex, the advised solution seems to be reinstalling Python, which version would you recommend?

JovanVeljanoski commented 3 years ago

Have you tried re-installing vaex recently? There have been several stable version released since this issue was created.