TheNeuralBit opened a new issue, #23276: URL: https://github.com/apache/beam/issues/23276
### What happened? See https://github.com/apache/beam/pull/22587#discussion_r964644584 ``` object_class_col.astype(pd.CategoricalDtype(...)).str.get_dummies() WontImplementError: astype(dtype='category') is not supported because the type of the output column depends on the data. Please use pd.CategoricalDtype with explicit categories instead. For more information see https://s.apache.org/dataframe-non-deferred-columns. ``` This is particularly bad since it raises the same error even when the user takes the suggested action (using a CategoricalDtype instead of "categories". ### Issue Priority Priority: 2 ### Issue Component Component: dsl-dataframe -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
