contributing to pandas

A comprehensive guide

Tue, 29 Jan 2019

pandas
pandas: powerful Python data analysis toolkit

for PyDelhi DevSprint 02/02/19

pre-DevSprint reading material:-

Homework

0. Remove existing pandas installation

```
pip uninstall pandas
```

1. Fork me!

2. Clone the fork to your PC.

3. Install pandas from source.

  • cd into the clone and install the build dependencies.

    python -m pip install -r requirements-dev.txt
  • Build and install pandas. (takes ~20 minutes on an i5 6200U with 8GB RAM)

    python setup.py build_ext --inplace -j 4 
    python -m pip install -e .

Background

Work on pandas started at AQR (a quantitative hedge fund) in 2008 and has been under active development since then.

Chat with more pandas at Gitter.im!

Some Tips

Bad Trips

I accidentally rebased on origin/master. That was ~350 commits behind upstream/master !

Steps taken:-

  • reverted HEAD to just before rebase
  • merged upstream/master into origin/is_scalar
  • updated origin/master to get NO diffs in upstream/master and origin/master
  • ran git rebase origin/master and fixed a conflict in doc/source/whatsnew/v0.24.0.rst
  • pushed to origin/is_scalar.

Stay safe and make the internet a healthier place!

Loading...
piyush aggarwal

I am an engineering undergraduate, in my 3rd year of B.Tech in Computer Science. I like to play with technologies and share my experiences with the almighty internet!