Skip to content
#

NumPy

numpy logo

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,435 public repositories matching this topic...

malfet
malfet commented Aug 26, 2021

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:

  • It excluded those test runtime from auto-sharding/auto-categorization
  • Make them subject of running on only particular platform (

Data science Python notebooks: Deep learning (TensorFlow, Theano, Caffe, Keras), scikit-learn, Kaggle, big data (Spark, Hadoop MapReduce, HDFS), matplotlib, pandas, NumPy, SciPy, Python essentials, AWS, and various command lines.

  • Updated May 13, 2021
  • Python
TomAugspurger
TomAugspurger commented Aug 25, 2021

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
numba
rhjmoore
rhjmoore commented Sep 1, 2021

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

人工智能学习路线图,整理近200个实战案例与项目,免费提供配套教材,零基础入门,就业实战!包括:Python,数学,机器学习,数据分析,深度学习,计算机视觉,自然语言处理,PyTorch tensorflow machine-learning,deep-learning data-analysis data-mining mathematics data-science artificial-intelligence python tensorflow tensorflow2 caffe keras pytorch algorithm numpy pandas matplotlib seaborn nlp cv等热门领域

  • Updated Feb 6, 2020
orange3
janezd
janezd commented Aug 28, 2021

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

ta
brightening-eyes
brightening-eyes commented Aug 22, 2020

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

gluon-nlp
preeyank5
preeyank5 commented Dec 3, 2020

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

xarray
TomNicholas
TomNicholas commented Jul 7, 2021

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 20 days ago

Repository
numpy/numpy
Website
numpy.org
Wikipedia
Wikipedia

Related Topics

python scipy