Skip to main content

No project description provided

Project description

Author : Nilesh Shinde

% 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.5.tar.gz (2.7 kB view hashes)

Uploaded Source

Built Distribution

df_to_dictionary-0.5-py3-none-any.whl (3.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page