Quansight / omnisci

Explorations on using MapD and Jupyter together.
4 stars 1 forks source link

Ibis: Data map issue #70

Closed xmnlab closed 4 years ago

xmnlab commented 4 years ago

History:

MikeH 2:43 PM
When I create an ibis schema with int8, then create_table should map that to TINYINT, but it created as SMALLINT, so the table schema comes back as int16

I also found Ibis create_table doesn't support obj=df, though the doc says it does.  I can follow create_table with load_data

xmnlab 2:48 PM
thanks @MikeH for point these issues. I will investigate that and I will create issues for that.

MikeH 4:44 PM
And an Ibis question: if I create an ibis.schema and I want to populate a pandas DF, what's the best way to align the column types?  I wrote a for loop on the columns in the schema that calls astype, but it seems like the pd.DataFrame constructor should know how to create the precise types rather than infer.
xmnlab commented 4 years ago

PR in review: https://github.com/ibis-project/ibis/pull/2056

xmnlab commented 4 years ago

merged.