pd.get_dummies
¶
pandas.get_dummies(data, prefix=None, prefix_sep="_", dummy_na=False, columns=None, sparse=False, drop_first=False, dtype=None)
Supported Arguments¶
argument | datatypes | other requirements |
---|---|---|
data |
Array or Series with Categorical dtypes | Categories must be known at compile time. |