blaze / datashape

Language defining a data description protocol
BSD 2-Clause "Simplified" License
183 stars 65 forks source link

TypeError: DataShape measure ?bool is not NumPy-compatible #208

Open danaki opened 8 years ago

danaki commented 8 years ago

Using Mongo.

harshit-sh commented 8 years ago

Hi, I have a table with a boolean column. Is there a workaround for this issue? I have a dataframe that I want to add into a table.

llllllllll commented 8 years ago

The issue is that numpy does not understand optional types in the dtype system. The only way I could think to support this would be to have an explicit missing value passed along with the data, otherwise what do you map NULL to?

harshit-sh commented 8 years ago

Oh okay. Any pointers to going about it?