-
Notifications
You must be signed in to change notification settings - Fork 2
Useful Python Packages
Herbie Bradley edited this page Feb 9, 2021
·
10 revisions
This page summarizes a variety of useful python packages with a link to the package as well as a short description of what it is useful for.
- Pandas profiling: Automatically generates standard data exploration analysis for pandas dataframes (e.g. columns, missing values, histograms, ...) with just one line of code. You can interact with the results direclty in jupyter notebooks or export them as html report. Great for a first look at your data before diving into further analyses.
- Weights and Biases: Provides a framework to track compare and visualize ML experiments. Integrates with all major ML frameworks.
- Sacred: General framework to configure, organize, log and reproduce computational experiments (i.e. also physical simulations, not just ML models). Stores all configurations, codefiles and experimental results automatically in a Databse. Can be visualized by using Scared Board.
- Neptune: TODO
- Hydra: Allows you to dynamically create a hierarchical configuration. It also allows you to override defaults through config files and the command line. It also allows you to run mutliple runs with different configurations from a simple command line call. Under the hood it creates configuration objects which are OmegaConf DictConfigs (see below).
- OmegaConf: YAML based hierarchical configuration system that allows to merge configurations from multiple sources (e.g. files, CLI arugments, environment variables, ...) and creates a consistent API regardless of how the config was generated.
- Folium: For creating interactive maps in jupyter notebooks and exporting them to html. Convenient if you have to quickly and interactively visualize spatial data.
- matplotlib and seaborn
- ipygany Third dimension
- ipympl renders matplotlib interactive
- ipyleaflet for interactive maps in Jupyter notebooks
- geemap for interactive plotting based on ipyleaflet and Google Earth Engine
- voila turns Jupyter notebooks into standalone web applications
- tqdm endlessly customisable progress bars for loops that may be faster than print statements
- Interactive Python Debugger: Allows you to walk through your code interactively instead of having to "print-debug". Also works nicely in notebooks. For additional syntax highlighting look at ipdb.