NumPy

NumPy is an open source library for the Python programming language, adding support for large, multidimensional arrays, and matrices, along with a large collection of high-level mathematical functions to operate on these arrays.
Here are 11,124 public repositories matching this topic...
-
Updated
Jan 13, 2022 - Jupyter Notebook
-
Updated
Nov 4, 2021 - Python
-
Updated
Oct 19, 2019
Is your feature request related to a problem? Please describe.
I am uploading our dataset and models for the "Constructing interval measures" method we've developed, which uses item response theory to convert multiple discrete labels into a continuous spectrum for hate speech. Once we have this outcome our NLP models conduct regression rather than classification, so binary metrics are not r
-
Updated
Dec 22, 2020 - Python
Array.reshape
"only allows for reshapings that collapse or merge dimensions" (xref dask/dask#2561). However, when you try to do one of these unsupported reshapings, the error message Shapes not compatible
does not make it at all clear that what you're asking for just isn't supported by dask. Instead, it sounds as though your inputs are invalid.
A more descriptive e
-
Updated
Dec 23, 2020 - Python
-
Updated
Sep 27, 2019 - Jupyter Notebook
-
Updated
Feb 2, 2022 - Python
I see comments suggesting adding this to understand how loops are being handled by numba, and in the their own FAQ (https://numba.pydata.org/numba-doc/latest/user/faq.html)
from llvmlite import binding as llvm
llvm.set_option('','--debug-only=loop-vectorize')
You would then create your njit function and run it, and I believe the idea is that it prints debug information about whether
-
Updated
Feb 22, 2022 - Python
-
Updated
Feb 3, 2022 - Python
Bidirectional RNN
Is there a way to train a bidirectional RNN (like LSTM or GRU) on trax nowadays?
Description
Calling vectorize with a non-None value for the signature
parameter outputs this error message about the excluded
parameter.
NotImplementedError: cupy.vectorize does not support `excluded` option currently.
Inspecting the code, it is obvious there is a copy-paste error and the 2nd error message should be change excluded to signature.
-
Updated
Jan 5, 2022 - Python
-
Updated
Feb 6, 2020
-
Updated
Feb 11, 2022 - Python
-
Updated
Jan 16, 2022 - Jupyter Notebook
环境
1.系统环境:
2.MegEngine版本:1.6.0rc1
3.python版本:Python 3.8.10
The program stuck at net.load when I was trying to use the MegFlow. I wait for more than 10min and there is no sign of finishing it.
-
Updated
Feb 25, 2022 - Python
-
Updated
Feb 25, 2022 - Python
-
Updated
Feb 14, 2022 - Python
Wondering if this already exists? If not happy to create if valuable.
I'm looking for a mapping from the column names outputted, to the actual technical indicator it represents.
examples:
momentum_ao == "Momentum, Awesome Oscilator"
momentum_kama == "Momentum, Kaufman’s Adaptive Moving Average (KAMA)"
Can help quickly grasp what the features represent without having to refer back to do
-
Updated
Jan 26, 2022 - C++
pydata/xarray#5865 (reply in thread)
I wonder if it's possible to implement a built-in function like:
da.str.format("%.2f")
or xr.string_format(da, "%.2f)
To wrap:
import xarray as xr
da = xr.DataArray([5., 6., 7.])
das = xr.DataArray("%.2f")
das.str % da
<xarray.DataArray (dim_0: 3)>
array(['5.00', '6.00', '7.00'], dtype='<U4')
Dim
Created by Travis Oliphant
Latest release 22 days ago
- Repository
- numpy/numpy
- Website
- numpy.org
- Wikipedia
- Wikipedia
Currently many tests run in forks but they are expected to fail due to lack of credentials in forks.
This is a bit annoying to contributors:

A failed job example: https://github.com/ppwwyyxx/pytorch/runs/5137367784?check_suite_focus=true
I thin