No project description provided
Project description
% This module is for convert dataframe to dictionary in river dataset format %
River is the famous online machine learning dictionary in python but it can only support dictionary as a input. For that reason we have to convert dataframe to dictionary.
WHY DataFrame
In this situation you might be thinking whay first we convert other formate to dataframe and then dictionary ,because pandas gives us some amazing feature for data visualization.
For more info
https://pandas.pydata.org/
Function in this module
xdata,ydata = df_to_dictionary(x_data,y_data)
here x_data means the fetures and y_data means the labels of the dataset.
It will returns transformed xdata and ydata
Installation :
Requirements:
pandas
numpy
Installation :
pip install pandas==1.5.2
pip install numpy==1.23.5
Github link
https://github.com/Nileshshinde09/df_to_dictionary
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
df_to_dictionary-0.3.tar.gz
(2.2 kB
view hashes)
Built Distribution
Close
Hashes for df_to_dictionary-0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d0931fd330fd49882869a1b7375180f12312c757dd92eed27db67c4670ead2d9 |
|
MD5 | ae525bdcbddc46b4f9628b2ce16a5bde |
|
BLAKE2b-256 | 8501120e7576ad3d804514750c87fb590056c80dd0ca586cc5d0de9a718a799d |