numpy
Here are 6,308 public repositories matching this topic...
-
Updated
Sep 7, 2020 - Jupyter Notebook
-
Updated
Jul 24, 2020 - Python
Picking up from #15731, there are many places in numpy where we do something like:
try:
something_which_throws_typeError
except TypeError:
raise ValueError("a clearer explanation of what went wrong")
It would produce a marginally clearer error if we could change these to use traceback chaining. Our two options are either:
- The inner error provides valuable infor
-
Updated
Oct 19, 2019
-
Updated
Jul 9, 2020 - Python
-
Updated
Sep 27, 2019 - Jupyter Notebook
The documentation in the Joins section https://docs.dask.org/en/latest/dataframe-joins.html has code blocks but they aren't interactive and therefore not as useful.
I think the documentation would benefit from an interactive example with use of real data (or data from the demo API).
I had a quick rummage of the tutorial (h
-
Updated
Sep 6, 2020 - Python
-
Updated
Sep 22, 2019 - Python
-
Updated
Jul 5, 2020 - Python
-
Updated
Aug 17, 2020 - Python
-
Updated
Sep 10, 2020 - Python
-
Updated
Sep 10, 2020 - Python
-
Updated
Feb 6, 2020
Well, Gumbel Distribution is magical. Basically, given a sequence of K logits, i.e., "\log a_1, \log a_2, ..., \log a_K" and K independent gumbel random variables, i.e., "g_1, g_2, ..., g_K". We have
\argmax_i \log a_i + g_i ~ Categorical({a_i / sum(a)})
This gives you a very simple way to sampl
-
Updated
Sep 9, 2020 - C++
Support DataFrame.select_dtypes
What happened:
xr.DataArray([1], coords=[('onecoord', [2])]).sel(onecoord=2).to_dataframe(name='name')
raise an exception ValueError: no valid index for a 0-dimensional object
What you expected to happen:
the same behavior as: xr.DataArray([1], coords=[('onecoord', [2])]).to_dataframe(name='name')
Anything else we need to know?:
I see that the array after the select
-
Updated
Aug 10, 2020 - Jupyter Notebook
-
Updated
Feb 11, 2020 - Python
-
Updated
Aug 30, 2020 - Jupyter Notebook
-
Updated
Sep 8, 2020 - Python
Improve this page
Add a description, image, and links to the numpy topic page so that developers can more easily learn about it.
Add this topic to your repo
To associate your repository with the numpy topic, visit your repo's landing page and select "manage topics."