Closed varadhbhatnagar closed 2 months ago
Requesting review @lhoestq I will also update the docs if this looks good.
Cool ! maybe you can rename the argument feature
and with type FeatureType
? This way it would work the same way as .cast_column()
?
@lhoestq Since there is no way to get a pyarrow.Schema
from a FeatureType
, I had to go via Features
. How does this look?
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.
@lhoestq done!
@lhoestq anything pending on this?
Fix #7142.
Before (Add + Cast):
Before (Numpy Workaround):
After: