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 9,060 public repositories matching this topic...
-
Updated
Jul 26, 2021 - Jupyter Notebook
-
Updated
May 13, 2021 - Python
LGTM alerts .
I notice that there are still a fair number LGTM alerts, many of which look pretty simple. I wonder if they would be a good source of issues for the next NumPy sprint?
-
Updated
Oct 19, 2019
-
Updated
Dec 22, 2020 - Python
What happened:
If a negative value for drop_axis
is passed into either map_blocks
or map_overlap
a non-informative exception is raised.
What you expected to happen:
I would expect this would work as in NumPy for negative axis arguments where axis becomes axis = axis % array.ndim
. If it is not intended to work, then it should raise a user-friendly AxisError
. This came up
-
Updated
Dec 23, 2020 - Python
-
Updated
Sep 27, 2019 - Jupyter Notebook
-
Updated
Jun 21, 2021 - Python
-
Updated
Jul 9, 2021 - Python
Reporting a bug
- I have tried using the latest released version of Numba (most recent is
visible in the change log (https://github.com/numba/numba/blob/master/CHANGE_LOG). - I have included a self contained code sample to reproduce the problem.
i.e. it's possible to run as 'python bug.py'.
(a static analyzer bug report)
In file numba/np/ufunc/omppool.cpp
, `numba/np
Bidirectional RNN
Is there a way to train a bidirectional RNN (like LSTM or GRU) on trax nowadays?
-
Updated
Jun 10, 2021 - Python
-
Updated
Feb 6, 2020
-
Updated
Jun 6, 2021 - Python
-
Updated
Jul 26, 2021 - Python
What's wrong?
codebasics / py
-
Updated
Jul 14, 2021 - Jupyter Notebook
-
Updated
Jul 21, 2021 - C++
[Error Message] Improve error message in SentencepieceTokenizer when arguments are not expected.
Description
While using tokenizers.create with the model and vocab file for a custom corpus, the code throws an error and is not able to generate the BERT vocab file
Error Message
ValueError: Mismatch vocabulary! All special tokens specified must be control tokens in the sentencepiece vocabulary.
To Reproduce
from gluonnlp.data import tokenizers
tokenizers.create('spm', model_p
hi,
if possible, please add these indicators as well:
TDI (Traders Dynamic Index)
chandelier exit
pivot points
BOP (balance of power)
CTM (Chande trend meter)
Coppock Curve
Correlation Coefficient
PMO (DecisionPoint Price Momentum Oscillator)
Ulcer Index
most of them except TDI are available on stockcharts.com
thanks
-
Updated
Jul 10, 2021 - Rust
Support Series.between
Is your feature request related to a problem? Please describe.
Sometimes you want to check that data values are present in another array, but only up to a certain tolerance.
Describe the solution you'd like
da.isin(test_values, tolerance=1e-6)
, where the tolerance argument is optional.
Not sure what the implementation should be but there are two vectorized [suggestions here](http
Created by Travis Oliphant
Latest release 10 days ago
- Repository
- numpy/numpy
- Website
- numpy.org
- Wikipedia
- Wikipedia
Support to pickle a jitted function (or at least throw a
TypeError
when using protocol 0 and 1).Motivation
Trying to pickle a jitted function either raises
TypeError: cannot pickle 'torch._C.ScriptFunction' object
whenprotocol>1
or far worse when usingprotocol=0
orprotocol=1
python 3.9.5 dies with: