Skip to main content

Helper functions for performing generic analysis

Project description

GitHub Pages
PyPI

analytics_packages

Helper functions for generic analysis and iteracting with Excel files


Installation

pip install kabbes_analytics_packages


Usage

For more in-depth documentation, read the information provided on the Pages. Or better yet, read the source code.

import analytics_packages.custom_xlwings as cxw
wb = cxw.get_wb( 'excel_data.xlsx' )
ws = cxw.get_ws( wb, sheet = 'Sheet1' ) 
df = cxw.get_df_from_ws( ws ) #Pandas DataFrame
cxw.delete_sheet( ws )
import analytics_packages.custom_pandas as cpd
import pandas as pd
df = pd.DataFrame( {'A': [ 1,2,3 ], 'B': [ 4,5,6 ] } )
df_new = cpd.move_last_column_to_first( df )
print (df_new)
>>>
   B  A
0  4  1
1  5  2
2  6  3

Author

James Kabbes

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

kabbes_analytics_packages-0.5.0.tar.gz (9.9 kB view hashes)

Uploaded Source

Built Distribution

kabbes_analytics_packages-0.5.0-py3-none-any.whl (10.3 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