Repository navigation
Conversation
|
Foumd the problem. We did not hold a reference to the index array in the case that we did not need to copy it. Ready for review now |
There was a problem hiding this comment.
Any reason not to use !categorical_columns.empty()?
There was a problem hiding this comment.
Do we have a top level ::arrow::field function that does this? If not, then this call should use auto since Field is already mentioned in the call to make_shared.
There was a problem hiding this comment.
This should use auto as well.
There was a problem hiding this comment.
Should this be const unordered_set[c_string]&?
There was a problem hiding this comment.
Can you make this a set comprehension? It's misleading to have a Python list automatically turned into a C++ unordered_set IMO.
wesm
left a comment
There was a problem hiding this comment.
Noted a couple unchecked Status and made an API note
There was a problem hiding this comment.
Need to check Status in these two lines
There was a problem hiding this comment.
At some point we might want to put categorical_columns in the Options data structure
There was a problem hiding this comment.
I was looking at doing that but the options structure also makes sense on a per-column basis (and we use it for that) bur the column list is only useful in the Table case.
|
rebased |
…s on a per-column basis
This is failing due to the first entry of the indices being uninitialised memory in the pandas series. On the C++ side, everything looks good. Would be nice if someone could have a look, I‘m out of ideas.