Eventual-Inc / Daft

Distributed DataFrame for Python designed for the cloud, powered by Rust
https://getdaft.io
Apache License 2.0
2.05k stars 139 forks source link

Allow image.decode() to take in an image mode to create a fixed mode image column #2495

Closed samster25 closed 1 month ago

samster25 commented 1 month ago

something like

df['x'].image.decode(mode"rgb")
jaychia commented 1 month ago

Definitely a painpoint, I'm running into these issues when attempting to decode a bunch of images:

image

Seems like our current code just gives up when decoding heterogenous images. We should probably attempt to coerce them into the same mode and dtype