Skip to content
#

Python

python logo

Python is a dynamically typed programming language designed by Guido van Rossum. Much like the programming language Ruby, Python was designed to be easily read by programmers. Because of its large following and many libraries, Python can be implemented and used to do anything from webpages to scientific research.

Here are 188,506 public repositories matching this topic...

kurtamohler
kurtamohler commented Jan 20, 2021

🚀 Feature

Add support for torch.max with:

  • CUDA bfloat16
  • CPU float16 and bfloat16

Motivation

Currently, torch.max has support for CUDA float16:

>>> torch.rand(10, dtype=torch.float16, device='cuda').max()
tensor(0.8530, device='cuda:0', dtype=torch.float16)

But all three other combinations of CPU/CUDA and float16/bfloat16 are not supported:

>>> torch.ra
ogrisel
ogrisel commented Nov 13, 2020

Most functions in scipy.linalg functions (e.g. svd, qr, eig, eigh, pinv, pinv2 ...) have a default kwarg check_finite=True that we typically leave to the default value in scikit-learn.

As we already validate the input data for most estimators in scikit-learn, this check is redundant and can cause significant overhead, especially at predict / transform time. We should probably a

scrapy
superset
junlincc
junlincc commented Feb 9, 2021

User now can change X AXIS FORMAT in time series charts and see date format on rich tooltip. However, the first date of the month is always missing its full time format in tooltip. (e.g. 1/1/2021 is displayed as Jan 2021) see video

https://user-images.githubusercontent.com/67837651/107318140-ef522c80-6a50-11eb-9447-3ee3be094592.mov

<img width="294" alt="Screen Shot 2021-02-08 at 9 05 58 PM"

jpcam
jpcam commented Feb 8, 2021

Typically financial data is ordered by columns in reverse chronology ie columns '2020', '2019', '2018', '2017'.. But we need the pct_change function in reverse order. Looking at the Pandas reference (last example): https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.DataFrame.pct_change.html?highlight=pct_change#pandas.DataFrame.pct_change

df.pct_change(axis='columns')

bmw
bmw commented May 14, 2020

In all of our current uses of os.umask or filesystem.umask, we always temporarily set it to a different value and then restore it using a try/finally block. I expect this pattern to continue.

Because of that, why don't we create a simple function in certbot.util that can be used as a context manager to set umask to a value and restore it to its previous value when exiting the with blo

Created by Guido van Rossum

Released February 20, 1991

Organization
python
Website
www.python.org
Wikipedia
Wikipedia

Related Topics

language ruby