#!/usr/bin/env python # coding: utf-8 # # Vaex - Out of core dataframes # * vaex # * https://github.com/maartenbreddels/vaex # * http://vaex.io # # Install from conda: # # ``` # $ conda install -c conda-forge vaex # ``` # # or pip # ``` # $ pip install --pre vaex # ``` # # Get some data at: https://docs.vaex.io/en/latest/datasets.html # # In[ ]: import vaex # In[ ]: ds = vaex.open('/Users/maartenbreddels/datasets/nytaxi/nyc_taxi2015.hdf5') ds # In[ ]: ds.plot_widget(ds.pickup_longitude, ds.pickup_latitude, f='log', backend='ipyleaflet', shape=400) # In[ ]: ds = vaex.open("/Users/maartenbreddels/datasets/aquarius/Aq-A-2-999-shuffled.hdf5") ds.set_active_fraction(0.1) # In[ ]: ds.plot_widget(ds.x, ds.y, f='log1p') # In[ ]: ds.plot_widget(ds.x, ds.y, ds.z, backend='ipyvolume', f='log1p', shape=128, smooth_post=1)