https://github.com/datacamp/community-hierarchical-indices
This repository contains notebook + code for DataCamp community post on hierarchical indices, groupby, split-apply-combine and pandas.
https://github.com/datacamp/community-hierarchical-indices
Last synced: about 1 year ago
JSON representation
This repository contains notebook + code for DataCamp community post on hierarchical indices, groupby, split-apply-combine and pandas.
- Host: GitHub
- URL: https://github.com/datacamp/community-hierarchical-indices
- Owner: datacamp
- License: mit
- Created: 2017-10-02T14:38:32.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-10-02T17:15:50.000Z (over 8 years ago)
- Last Synced: 2025-03-26T19:12:18.105Z (about 1 year ago)
- Language: Jupyter Notebook
- Size: 9.77 KB
- Stars: 6
- Watchers: 3
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# community-hierarchical-indices
This repository contains notebook + code for DataCamp community post on hierarchical indices, groupby, split-apply-combine and pandas.
## Getting set up
Clone this repository
```
git clone https://github.com/datacamp/community-hierarchical-indices
```
If you do not already have the [Anaconda distribution](https://www.anaconda.com/download/), go get it (n.b., you can also do this w/out Anaconda using `pip` to install the required packages, however Anaconda is great for Data Science and I encourage you to use it).
Navigate to the relevant directory `community-hierarchical-indices` and install required packages in a new conda environment:
```
conda env create -f environment.yml
```
This will create a new environment called hierarchical-indices-pandas. To activate the environment, execute
```
source activate hierarchical-indices
```
Then open the notebook `hierarchical_indices_multiple_groupbys_and_pandas.ipynb` and execute the code.
### Code
The code in this repository is released under the [MIT license](LICENSE). Read more at the [Open Source Initiative](https://opensource.org/licenses/MIT). All text remains the Intellectual Property of DataCamp. If you wish to reuse, adapt or remix, get in touch with me at hugo at datacamp com to request permission.