pandas-cookbook icon indicating copy to clipboard operation
pandas-cookbook copied to clipboard

Recipes for using Python's pandas library

Results 38 pandas-cookbook issues
Sort by recently updated
recently updated
newest added

Fixes broken link on README that went to "A quick tour of IPython Notebook". This is the correct link: https://nbviewer.org/github/jvns/pandas-cookbook/blob/master/cookbook/A%20quick%20tour%20of%20IPython%20Notebook.ipynb fixes #82

when I write this line berri_bikes.loc[:, 'weekday'] = berri_bikes.index.weekday If we run then we will see the bug: TypeError:unhashable type:'slice' Anyone can tell me what happen and how to fix...

In the home page https://github.com/jvns/pandas-cookbook -> Table of Contents -> "A quick tour of the Jupyter Notebook" links to the following: `http://nbviewer.jupyter.org/github/jvns/pandas-cookbook/blob/master/cookbook/A%20quick%20tour%20of%20%20Notebook.ipynb` This link is broken.

Binder does not work with my computer: It gives this type of an error

Here is the log when running https://mybinder.org/v2/gh/jvns/pandas-cookbook/master: ``` Step 37/50 : COPY --chown=1000:1000 src/requirements.txt ${REPO_DIR}/requirements.txt ---> Using cache ---> 0ac1ed6a7c4e Step 38/50 : USER ${NB_USER} ---> Using cache ---> 8c57bb10fbc0...

Made following changes to simplify code for tutorial: - before: berri_bikes.loc[:,'weekday'] --> after: berri_bikes['weekday'] - before: berri_bikes.groupby('weekday').aggregate(sum) --> after: berri_bikes.groupby('weekday').sum()

Apparently, the site for Canadian historical weather data changed their site.

when I write this line berri_bikes.loc[:, 'weekday'] = berri_bikes.index.weekday If we run then we will see the bug: TypeError:unhashable type:'slice' Anyone can tell me what happen and how to fix...

In the cookbook Chapter 1 we start with command `broken_df = pd.read_csv('../data/bikes.csv') ` That suppose to give a bad input. But when I try this command I get an exception:...