Transformer for dropping NAs only #4973
-
Is there any transformer that can drop all the NA values in a column or in the entire dataframe, without having to modify it? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
There is a generic
In your case you would probably pick |
Beta Was this translation helpful? Give feedback.
-
Another thing with PandasTransformAdaptor is that it does not support the invert_transform. |
Beta Was this translation helpful? Give feedback.
There is a generic
pandas
adapter which allows to add anypandas
method as ansktime
transformer step:from sktime.transformations.series.adapt import PandasTransformAdaptor
In your case you would probably pick
method="dropna"