Cheat Sheets ============ For Mocking ----------- Utilizing the `unittest.mock`_ library, this cheat sheet contains basic and more advanced ways of mocking behavior to be used in your unit tests. .. toctree:: :maxdepth: 1 mock.ipynb mock_patch.rst .. _unittest.mock: https://docs.python.org/3/library/unittest.mock.html Original source: https://yeraydiazdiaz.medium.com/what-the-mock-cheatsheet-mocking-in-python-6a71db997832 For Data Science ---------------- `Data Science Cheat Sheet <../../../_static/python-data_science-cheatsheets.pdf>`__, includes: * Python Basics * Jupyter Notebook * Numpy Basics * SciPy - Linear Algebra * Pandas Basics * Scikit-Learn * Matplotlib * Seaborn * Bokeh Original source: http://www.utc.fr/~jlaforet/Suppl/python-cheatsheets.pdf For Pandas ---------- `Pandas Cheat Sheet <../../../_static/pandas_cheat_sheet.pdf>`_. Original source: https://pandas.pydata.org/Pandas_Cheat_Sheet.pdf