pd.Series.where
¶
pandas.Series.where(cond, other=nan, inplace=False, axis=None, level=None, errors='raise', try_cast=NoDefault.no_default)
Supported Arguments¶
argument | datatypes |
---|---|
cond |
|
other |
|
Note
Series can contain categorical data if other
is a scalar