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 8,609 public repositories matching this topic...
-
Updated
Jun 8, 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
The dask.delayed
decorator should have type annotations.
from dask import delayed
@delayed(pure=True)
def well_typed_function() -> int:
return 1
mypy: Untyped decorator makes function "well_typed_function" untyped
Ideally, the type of delayed would be something like
from typing import TypeVar
from dask.delayed import Delayed
T = TypeVar("T")
delayed(o
-
Updated
Dec 23, 2020 - Python
-
Updated
Sep 27, 2019 - Jupyter Notebook
-
Updated
May 25, 2021 - Python
-
Updated
Jun 9, 2021 - Python
In numba/stencils/stencil.py, there are various places (like line 552, "if isinstance(kernel_size[i][0], int):") where we check for "int" in relation to neighborhoods. I ran across a case where I was creating a neighborhood tuple by extracting values from a Numpy array. This causes a problem because those Numpy values will not match in these isinstance int checks. I worked around it by conver
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
Jun 9, 2021 - Python
- What's your use case?
[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
-
Updated
Jun 3, 2021 - C++
codebasics / py
-
Updated
Jun 9, 2021 - Jupyter Notebook
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
Implements {DataFrame,Series}.empty
-
Updated
Jun 10, 2021 - Rust
Created by Travis Oliphant
Latest release about 1 month ago
- Repository
- numpy/numpy
- Website
- numpy.org
- Wikipedia
- Wikipedia
The array API specification stipulates four numeric constants:
e
inf
nan
pi
PyTorch currently supports none.
cc @mruberry @rgommers @pmeier