Skip to content

Instantly share code, notes, and snippets.

@ChrisBeaumont
Created May 15, 2014 15:55
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ChrisBeaumont/a2e29accd314f49874e1 to your computer and use it in GitHub Desktop.
Save ChrisBeaumont/a2e29accd314f49874e1 to your computer and use it in GitHub Desktop.
Using qglue with categorical data
from glue import qglue
from glue.core.data_factories import panda_process
import pandas as pd
df = pd.read_csv(...)
data = panda_process(df) # convert to Glue data, detect categorical components
qglue(data=data) #start ui
#alternatively, from the GUI, choose file->open data set, and choose file type=Pandas table
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment