Created
May 15, 2014 15:55
-
-
Save ChrisBeaumont/a2e29accd314f49874e1 to your computer and use it in GitHub Desktop.
Using qglue with categorical data
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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