在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):jvns/pandas-cookbook开源软件地址(OpenSource Url):https://github.com/jvns/pandas-cookbook开源编程语言(OpenSource Language):Jupyter Notebook 100.0%开源软件介绍(OpenSource Introduction):Pandas cookbookpandas is a Python library for doing data analysis. It's really fast and lets you do exploratory work incredibly quickly. The goal of this cookbook is to give you some concrete examples for getting started with pandas. The docs are really comprehensive. However, I've often had people tell me that they have some trouble getting started, so these are examples with real-world data, and all the bugs and weirdness that entails. It uses 3 datasets:
It comes with batteries (data) included, so you can try out all the examples right away. Table of Contents
How to use this cookbookThe easiest way is to try it out instantly online using Binder's awesome service. Start by clicking here, wait for it to launch, then click on "cookbook", and you'll be off to the races! It will let you run all the code interactively without having to install anything on your computer. To install it locally , you'll need an up-to-date version of IPython Notebook (>= 3.0) and n your computer pandas (>=0.13) for this to work properly. It's set up to work with Python 2.7. You can get these using pip install -r requirements.txt This can be difficult to get set up and require you to compile a whole bunch of things. I instead use and recommend Anaconda, which is a Python distribution which will give you everything you need. It's free and open source. Once you have pandas and IPython, you can get going! git clone https://github.com/jvns/pandas-cookbook.git
cd pandas-cookbook/cookbook
ipython notebook A tab should open up in your browser at Happy pandas! Running the cookbook inside Docker container.This repository contains Dockerfile and can be built into a docker container. To build the container run following command from inside of the repository directory:
run the container:
you can find out about the id of the image, by checking
After starting the container, you can access ipython notebook with the cookbook
on port 8888. Remember to use https and authenticate with
LicenseThis work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License TranslationsThere's a translation into Chinese of this repo. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论