Encode:
Takes a complete pandas dataframe and it converts every categorical variable into integers and
resumes its hashing values for each categorical column and returns a tuple with dataframe and hashmap
Method Structure:
.. code-block:: python
def encode(data):
''' Your code goes here '''
return data
Parameters:
data : pandas dataframe
Enter the pandas dataframe as first input
Usage:
.. code-block:: python
>> p = process()
>> p.encode(pd.DataFrame()
>> <pandas.dataframe>
Encode:
Takes a complete pandas dataframe and it converts every categorical variable into integers and
resumes its hashing values for each categorical column and returns a tuple with dataframe and hashmap
Method Structure:
.. code-block:: python
Parameters:
Usage:
.. code-block:: python