The Wayback Machine - https://web.archive.org/web/20200304113318/https://github.com/topics/numpy
Skip to content
#

numpy

Here are 4,704 public repositories matching this topic...

2313499
2313499 commented Mar 2, 2019

I was having a very hard time figuring out

fill = A.stack().mean()
A.add(B, fill_value=fill)

fill = 4.5. However I computed a value of 3.2 because I was taking the mean from the column of A not the DataFrame A.
This coming after the Indexing chapter where "explicit is better than implicit." I was thinking that this should be a little more explicit.

donnemartin
donnemartin commented Jul 1, 2015

"Bokeh is a Python interactive visualization library that targets modern web browsers for presentation. Its goal is to provide elegant, concise construction of novel graphics in the style of D3.js, but also deliver this capability with high-performance interactivity over very large or streaming datasets. Bokeh can help anyone who would like to quickly and easi

TomNicholas
TomNicholas commented Dec 17, 2019

Hi, I'm trying to visualise the graph involved when xarray writes to a netcdf file, but no visualisation is appearing.

import dask
import xarray

ds = xarray.Dataset({'a': 0})
task = ds.to_netcdf('dat.nc',compute=False)
task.compute()
print(task)
task.visualise(filename='netcdf.svg')  # This file is never produced


def inc(x):
    return x + 1

z = dask.delayed(inc)(1)
toslunar
toslunar commented Nov 8, 2019

Sphinx (2.2.1 or master) produces the following two kinds of warnings in my environment.

duplicate object description

I think cross refs to such object is ambiguous.

autosummary: stub file not found

There are

  • chainer.dataset.Converter base class and
  • chainer.dataset.converter decorator.

Therefore the filesystem has to allow to store `chainer.dataset.Conver

trax
ilovecocolade
ilovecocolade commented Sep 18, 2019

Change the default value for quantiles in this function to quantiles=None. When using bins instead of quantiles with the utils.get_clean_factor_and_forward_returns() function, there is an error in the utils.quantize_factor() inferring that no bin size or quantile sizes were passed but it is actually because utils.quantize_factor() passes quantiles = 5 by default, regardless of if bins in not None.

Improve this page

Add a description, image, and links to the numpy topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the numpy topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.