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,416 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
-
Updated
Sep 1, 2021 - Python
dask.data
In [12]: import dask.dataframe as dd, pandas as pd
In [13]: df = dd.from_pandas(pd.DataFrame({"A": [1, 2]}), npartitions=1)
In [14]: df.head()
/home/taugspurger/miniconda3/envs/stac-table/lib/python3.9/site-packages/dask/dataframe/core.py:6778: UserWarning: Insufficient elements for `head`. 5 elements requested, only 2 elements available. Try passing larger `npartiti-
Updated
Dec 23, 2020 - Python
-
Updated
Sep 27, 2019 - Jupyter Notebook
-
Updated
Aug 16, 2021 - Python
-
Updated
Jul 9, 2021 - Python
The conversion for np.ascontiguousarray doesn't appear to handle scalar inputs:
import numpy as np
import numba as nb
@nb.njit
def test_fn(x):
return np.ascontiguousarray(x)
test_fn(1)
# ...
# TypingError: Failed in nopython mode pipeline (step: nopython frontend)
# No implementation of function Function(<function ascontiguousarray at 0x7fdd294aab00>) found for siBidirectional 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
Sep 1, 2021 - Python
codebasics / py
-
Updated
Sep 1, 2021 - Jupyter Notebook
-
Updated
Sep 1, 2021 - Python
What's your use case?
In other words, what's your pain point?
Variable names and their icons are shown as vertical header. This
- is ugly,
- doesn't show the selection properly,
- doesn't allow sorting by variable names,
- doesn't allow selection by dragging across a range of variables (though one can drag across rows in the table itself),
- and possibly something else.
<img wi
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
Aug 31, 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
-
Updated
Aug 21, 2021 - Python
Support Series.median()
As far as I know, there's no way to see what options are enabled.
It'd be nice to add either xr.get_options or xr.show_options or xr.options so that users can see what is enabled.
I think it would be nice to have a one-line description under each option
"arithmetic_join": "outer"
controls DataArray/Dataset alignment in binary operations.
Created by Travis Oliphant
Latest release 17 days ago
- Repository
- numpy/numpy
- Website
- numpy.org
- Wikipedia
- Wikipedia
Motivation
Currently lots of C++ based unit tests are executed directly from test.sh/win-test.sh for example:
https://github.com/pytorch/pytorch/blob/0bd8d0951dcb4063c0f7552a7404bd7f0e7b6e6f/.jenkins/pytorch/test.sh#L317
Which have following drawbacks: