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

[DEPRECATED] See the new edition:

Results 18 cookbook-code issues
Sort by recently updated
recently updated
newest added

--------------------------------------------------------------------------- AttributeError Traceback (most recent call last) in () ----> 1 c.show() 2 app.run(); f:\anaconda3\vispy-master\vispy\app\canvas.py in show(self, visible, run) 427 Run the backend event loop. 428 """ --> 429 self._backend._vispy_set_visible(visible)...

FWIW, if users have problems with ipywidgets there appears to be a bigger issue with ipywidgets not working in latest v. https://github.com/ipython/ipywidgets/issues/669#issuecomment-233272661 I **did** manage to get ipywidgets to run...

seaborn.corrplot(df); should now be seaborn.heatmap(df); as per https://stanford.edu/~mwaskom/software/seaborn/whatsnew.html?highlight=corrplot

error on running the first cell: ShimWarning: The `IPython.html` package has been deprecated. You should import from `notebook` instead. `IPython.html.widgets` has moved to `ipywidgets`. "`IPython.html.widgets` has moved to `ipywidgets`.", ShimWarning)...

walked through the demo but got a fail mid way through # `!nosetests` /bin/sh: 1: nosetests: not found ![nose-test-not-found-07_unittests](https://cloud.githubusercontent.com/assets/640846/16910315/ad399a50-4ce0-11e6-9afd-3e623cdf5e38.jpg) The notebook should have a sanity check to see if nose...

Run `pd.rolling_mean(df['Berri1'], n).dropna().plot();` and you get ``` /usr/local/lib/python2.7/dist-packages/ipykernel/__main__.py:6: FutureWarning: pd.rolling_mean is deprecated for Series and will be removed in a future version, replace with Series.rolling(window=15,center=False).mean() ``` How can you do...

update

A few issues: Step 2: make sure to actually use "g = nx.read_shp("data/tl_2013_06_prisecroads.shp", simplify =False)". Without setting simplify to False, grid-like road structures become completely broken graphs. This is extremely...

This issue is to track progress of the upgrade and discuss problems along the way, if any.

update

Every recipe ends with a footer: > You'll find all the explanations, figures, references, and much more in the book (to be released later this summer). Since the book has...

update

_As reported by one user:_ Page: 19 & 20 In the example that begins: "10. Now, we illustrate the latest interactive features in IPython 2.0+, namely JavaScript widgets." I had...

update