Python

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 185,822 public repositories matching this topic...
-
Updated
Jan 18, 2021 - Java
-
Updated
Dec 29, 2020 - Python
As discussed in #3926, the following files do not have .py
extensions because TensorFlow does not yet support the current Python.
- dynamic_programming/k_means_clustering_tensorflow.py_tf
- machine_learning/lstm/lstm_prediction.py_tf
- neural_network/gan.py_tf
- neural_network/input_data.py_tf
TODO: Restore the .py
file extensions
-
Updated
Jan 22, 2021 - Python
-
Updated
Jan 13, 2021
-
Updated
Jan 22, 2021 - Python
-
Updated
Jan 21, 2021 - Python
-
Updated
Jan 23, 2021 - Python
🚀 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
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
-
Updated
Dec 30, 2020
-
Updated
Dec 29, 2020 - Jupyter Notebook
Summary
Usage of HttpCompressionMiddleware
needs to be relfected in Scrapy stats.
Motivation
In order to estimate scrapy memory usage efficiency and prevent.. memory leaks like this.
I will need to know:
- number of request/response objects that can be active (can be achieved by using [
trackref
](https://docs.scrapy.org/en/latest/topi
-
Updated
Jan 23, 2021 - Python
-
Updated
Jan 22, 2021 - JavaScript
-
Updated
Dec 19, 2020 - Python

-
Updated
Dec 27, 2020 - Python
Screenshot
Description
The rich tooltip text renders in a table that is inside a parent div that has the max-width set. If the text in the table is too wide, then the text will render outside of the div.
This is being caused by this line
-
Updated
Jan 22, 2021
Hello everyone, I will explain the current status of manim in this issue.
Now there are three main manim versions, and their differences:
- The master branch of 3b1b/manim: (probably the most used currently) rendering on the CPU using cairo, currently stable.
- The shaders branch of 3b1b/manim: (Grant is making, usi
-
Updated
Jan 20, 2021 - Python
Code Sample
import pandas as pd
#create a df and insert a series astype String
df = pd.DataFrame({1:[1,2,3]},index=[0,1,3])
df.insert(loc=0,column='test',value=pd.Series(["one","two","three"]).astype("string"))
print(df)
#The values inserted normally evaluates correct though
print('==============')
print(pd.Series(["one","two","three"]).astype("string"))
Output:
-
Updated
Dec 15, 2020 - Jupyter Notebook
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
Please make sure that this is a documentation issue. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:doc_template
System information