Skip to content

Latest commit

 

History

History
119 lines (62 loc) · 1.83 KB

README.md

File metadata and controls

119 lines (62 loc) · 1.83 KB

Vennam

Vennam is a Python library for converting Python DataFrame to List of Python Dictionary items .

Installation

Use the package manager pip to install Vennam.

pip install vennam

version

vennam.__version__ # return current version of Package

Usage of Package

from vennam import DataFrameToDict as dd

list_dict=dd.dftodict(DataFrame) # returns the list of dictionary items

Word Analysis on DataFrame Data

from vennam import Analysis 

freqency=Analysis.WordAnalysis(< DataFrame >,< DataFrame Column >)

Example

from vennam import Analysis 

freqency=Analysis.WordAnalysis(data,'description')

Word Cloud on DataFrame Data

from vennam import Analysis 

WordClound=Analysis.WordCloud(< DataFrame >,< DataFrame Column >)

Example

from vennam import Analysis 

WordClound=Analysis.WordCloud(data,'description')

DataBase Connection

from vennam.DataBase import create_engine

connection=create_engine(user,password,host,port,database)

Example

from vennam.DataBase import create_engine

connection=create_engine(user="VVVVV",
        password="VVVVV",
        host="VVVVV",
        port="VVVVV",
        database="VVVVV")
		

Dumping DataFrame into existing database table

from vennam.DataBase import insert_dict

Data_dump=insert_dict(connection,schemaname,tablename,dataframe)

Example

from vennam.DataBase import insert_dict

Data_dump=insert_dict(schemaname="VVVVV",tablename="VVVVV",connection=connection,dataframe=dataframe) 

License

MIT