Skip to content

Instantly share code, notes, and snippets.

@iamshreeram
Last active August 18, 2019 00:07
Show Gist options
  • Select an option

  • Save iamshreeram/47480b4508430f38d6a18b825d7d4932 to your computer and use it in GitHub Desktop.

Select an option

Save iamshreeram/47480b4508430f38d6a18b825d7d4932 to your computer and use it in GitHub Desktop.
contributing to pandas library

Step 1

Fork repo and clone to your local

git clone https://github.com/your-user-name/pandas.git pandas-yourname
cd pandas-yourname
git remote add upstream https://github.com/pandas-dev/pandas.git

Step 2

Set up conda

# Create and activate the build environment
conda env create -f environment.yml
conda activate pandas-dev

# or with older versions of Anaconda:
source activate pandas-dev
----------------------------------------------
[OPTIONAL]
# Build and install pandas
python setup.py build_ext --inplace -j 4
python -m pip install -e .

Step 3

Get latest code and Cut a branch out of master

# To keep the master in sync with pandas repo
git checkout master
git pull upstream master --ff-only
_______________________________

[OPTIONAL]
# Helps in working on branch

git branch shiny-new-feature
git checkout shiny-new-feature
[OR]
git checkout -b <branch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment