Helper functions for performing generic analysis
Project description
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
Built Distribution
Close
Hashes for kabbes_analytics_packages-0.5.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f4e92b20b5f448c80b23ddd4298475926c1297c0a722545be6cc15a483f1d28 |
|
MD5 | e65d9e248fa69f60b79296f1231291cb |
|
BLAKE2b-256 | 564bc1f0af087c279abb10cb869a8c7fb4365bb6bee672809ac7b08d20ab3af8 |
Close
Hashes for kabbes_analytics_packages-0.5.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | be3d956cc052fee86f0d7d26ffa630d0b452c95640046d97d469464e6d02e07a |
|
MD5 | 96a4f05c8a2492f34024bb86f3a3a131 |
|
BLAKE2b-256 | 93a53a9baab6284313faaa53a1d5f8d137b41cccbbbe02a9a915974071c1e206 |