OK, first I should mention the fact that the table I’m viewing here is actually an arguero-table! It turns out that once I call myArqueroTable.objects()
, and display that in the Data Table Cell, the CSV export button appears! So that’s already great!
Now, to your question about the schema: When I apply the recipe you propose on the table-output from the Data Table Cell viewing the arquero-table, I get:
"string:undefined,string:undefined,string:undefined,string:undefined,string:undefined,string:undefined,string:undefined,string:undefined,string:undefined,string:undefined,string:undefined,string:undefined,string:undefined,string:undefined,string:undefined,string:undefined,string:undefined,string:undefined"
When I do the same thing after first converting the arquero-table with .objects()
, I get:
"string:string,string:string,string:string,string:string,string:string,number:number,number:number,string:string,integer:integer,integer:integer,integer:integer,number:number,number:number,number:number,integer:integer,number:number,boolean:boolean,string:string"
so now all these data types are known.
So indeed this may have been the problem, that the arquero-table somehow has bad datatypes associated with the columns. Not sure why that happens. As soon as I convert with objects()
, it somehow magically turns the strings into proper types. Curious!