This function encodes the categorical data.By default it uses one-hot encoding. Args:data: pandas dataframe column: column name. It needs to be a list and categorical column method: one_hot or label_encoding Returns: pandas dataframe with encoded categorical data.
We encode the categorical data because many algorithms are not able to handle the categorical data.
Release files for categoricaldataencoding 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| categoricaldataencoding-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Release files / categoricaldataencoding-0.0.1-py3-none-any.whl
| Download URL | categoricaldataencoding-0.0.1-py3-none-any.whl |
|---|---|
| Size | 3.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b1b38ab9119993eeda6f7750185f6eddd118e830ef2fe8e29dc7d3dd86d93258
|
|
BLAKE2b-256 checksum How to use checksums |
7d9c17595436aab30df55c2fe1830414493cbe499a7d307b2cb5030db96ed623
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.4
|