You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When converting a mixed_type DataFrame to a R matrix (not a data.frame), everything is casted to string vectors, because a matrix can't be heterogeneously typed, to my knowledge.
I have two possible solutions I can send as pull request, and I would like to ask which is better:
raise ValueError for mixed type dataframes
raise a warning
Given that most matrices needed in R are the numeric ones, I would go for option 1.
The text was updated successfully, but these errors were encountered:
When converting a mixed_type DataFrame to a R matrix (not a data.frame), everything is casted to string vectors, because a matrix can't be heterogeneously typed, to my knowledge.
I have two possible solutions I can send as pull request, and I would like to ask which is better:
Given that most matrices needed in R are the numeric ones, I would go for option 1.
The text was updated successfully, but these errors were encountered: