yungchidanielcho / corning-merck-python-workshop-2022

A python workshop for Data Science Symposium 2022

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Corning - Merck Data Science Workshop

Introduction to python package development

As data project mature, data scientists may need make their script work on new data, use them in broader use cases and with other collaborators. These challenges require them to build packages that works with other people and tools.

In this workshop we'll look at how to create functions with docstrings. Then, we'll create and share a package that others can install. Finally, we will make sure the code is performing as expected by writing some tests.

Presentation link: https://www.beautiful.ai/player/-N3e4s1CY3ZEnaJVNv0J

PDF will be available when the presentation is finalized

Setup

  1. Install your favourite ide such as vscode or pycharm. You can download Pycharm community version for free with this link

  2. Install git

  3. Install anaconda

  4. Clone this repo

  5. Create a virtualenv or conda environment with python 3.7 and install dependent packages For pycharm see Configure a Conda virtual environment

    pycharm conda setup

    Navigate to the folder containing requirements.txt and use pip to install dependencies.

    cd <full-path/to-requirements.txt>
    pip install -r requirements.txt

About

A python workshop for Data Science Symposium 2022


Languages

Language:Python 100.0%