This is a compilation of useful python snippets. They all include a brief explanation and/or examples of when to use a particular snippet. The categories are:
- Stats:
- confidence intervals
- t tests
- bootstrapping
- wilcoxon rank sum test
- anova
- tukey hsd
- chi2 contingency tables
- pandas:
- Loading csv files with iterators
- Basic pandas functionality (based on bsweger/useful_pandas_snippets.py)
- Timestamps
- Useful commands for web session data
Coming soon...
- regression
- NLP
- classification - scikit
- seaborn