Piotr Bieszczad
03/22/2025, 9:54 AMparameterize_extract_columns decorator, or preferably parameterize_extract_fields.
From my understanding, those are not yet available?
Will they be available in near future?
Thanks in advance for the answer!
And thank you for developing this great tool. I find it really clever.Piotr Bieszczad
03/22/2025, 9:57 AMraise NotImplementedError(
NotImplementedError: Cannot get column type for [<class 'pandas.core.frame.DataFrame'>]. Registered types are {}Piotr Bieszczad
03/22/2025, 9:59 AM@parameterize_extract_columns(
ParameterizedExtract(
('height_image_1', 'width_image_1', 'channels_image_1'),
{'image': source('image1')}
)
)
def image_shape(image: np.ndarray) -> pd.DataFrame:
height, width, channels = image.shape[:3]
return pd.concat([pd.Series(height), pd.Series(width), pd.Series(channels)], axis=1)Piotr Bieszczad
03/22/2025, 10:00 AMElijah Ben Izzy
03/22/2025, 3:15 PM