my wrapper functions and classes for python
Project description
oxyba -- my wrapper functions and classes for python
Don't use this package.
I decided to apply the micro packaging approach instead of dumping everything into this package.
There is no particular purpose nor structure within this package. New wrapper functions and classes are just added to main package folder.
I advise against using any of this code in production.
Just don't.
Feel free to copy code and adjust it to your own needs.
Installation
Check the source code at https://github.com/ulf1/oxyba
pip install oxyba
Load the package
I am going to use the ox shortcut
import oxyba as ox
Examples
- see oxyba.kmedian.com/docs
- or download Jupyter Notebooks
Versioning
After v0.1.11 the versioning rules changed. A version X.Y.Z will have the following meaning.
- X: Major changes for the package
- Y: New function, class, module was added
- Z: Bugfixes, minor changes
Notes to myself
- Update setup.py (version, requirements)
- Update CHANGES.txt (what's added, changed, removed?)
- Run: python setup.py sdist upload -r pypi
- use
flake8 --ignore=F401
- use
autopep8 --in-place oxyba/*.py
Functions
Sampling, Resampling
- block_idxmat_sets
- block_idxmat_shuffle
- crossvalidation_loop
- crossvalidation_stats
threeway_split-- replaced by threesplit pypi packagejackknife_loop-- replaced by jackknifejackknife_stats-- replaced by jackknife
Data Cleaning with Pandas
- clean_add_strdec
- clean_dateobject_to_string
- clean_german_date
- clean_german_number
- clean_to_decimal
Data Cleaning (other)
- date_to_datetime
- drop_empty_records
Feature/Variable Checking
- features_check_singular
- isordinal
Correlations Matricies
corr-- replaced by korr.pearsoncorr_rank-- replaced by korr.spearmancorr_tau-- replaced by korr.kendall
DataViz
heatmap_corr-- replaced by korr.corrgramhist_corr_pval-- replaced by korr.corr_vs_pvalhist_corr_pval_groups-- replaced by korr.bracket_pval
Correlation Matrix Adjustment
illcond_corrmat-- replaced by illmat pypi packagesubjcorr_luriegold-- replaced by luriegold pypi packagesubjcorr_kfactor-- replaced by kfactor pypi packagesubjcorr_onepara-- replaced by onepara pypi package
Random Variables
Random Correlated Variables
- rand_bivar
- rand_chol
- rand_imancon
Random Dates
rand_dates-- replaced by randdate pypi package
Date Functions
- yearfrac_365q
Other stats
- nominal_count
- nominal_mode
- norm_mle
Linear Regression
- linreg_ridge_lu
- linreg_mle
- linreg_ols_lu
- linreg_ols_pinv
- linreg_ols_qr
- linreg_ols_svd
linreg_ols_utils.py
- linreg_predict
- linreg_residuals
- linreg_ssr
- linreg_mse
- linreg_rmse
Financial Models
- leland94
Databases
- mysql_batch_and_fetch
Python
- pip_upgrade
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.