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,359 public repositories matching this topic...
-
Updated
Mar 23, 2022 - Jupyter Notebook
-
Updated
Mar 26, 2022 - Python
-
Updated
Oct 19, 2019
Describe the bug
Streaming Datasets can't be pickled, so any interaction between them and multiprocessing results in a crash.
Steps to reproduce the bug
import transformers
from transformers import Trainer, AutoModelForCausalLM, TrainingArguments
import datasets
ds = datasets.load_dataset('oscar', "unshuffled_deduplicated_en", split='train', streaming=True).with_format("
-
Updated
Dec 22, 2020 - Python
Auto-chunking involves reasoning about dtype size, but for flexible dtypes like unicode strings that is not necessarily known. From the numpy docs:
For 18 of the 21 types this number is fixed by the data-type. For the flexible data-types, this number can be anything.
In particular, it seems t
-
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
Mar 29, 2022 - Python
Bidirectional RNN
Is there a way to train a bidirectional RNN (like LSTM or GRU) on trax nowadays?
Description
https://numpy.org/doc/stable/reference/generated/numpy.corrcoef.html
https://docs.cupy.dev/en/stable/reference/generated/cupy.corrcoef.html
Seems args are different
Additional Information
dtype
argument added in NumPy version 1.20.
-
Updated
Mar 8, 2022 - Python
-
Updated
Feb 6, 2020
-
Updated
Mar 27, 2022 - Python
-
Updated
Mar 5, 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
Mar 29, 2022 - Python
-
Updated
Mar 30, 2022 - Python
-
Updated
Mar 22, 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
Mar 28, 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
After the revert of pytorch/pytorch@7cf9b94 we've identified a need to add a lint that checks file names to ensure that they're compatible with Windows machines.
Observed error: (from example commit)
A simple check on chang