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,405 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 16, 2021 - Python
-
Updated
Jan 13, 2021
-
Updated
Jan 11, 2021 - Python
-
Updated
Jan 15, 2021 - Python
-
Updated
Jan 20, 2021 - Python
🐛 Bug
I stumbled upon excessive CPU usage for my training code running on GPU. After some investigations I found the culprit.
It basically was
x = torch.eye(256).to('cuda')
To Reproduce
This is quick and loads single CPU core.
%%timeit
torch.eye(181)
6.43 µs ± 218 ns per loop (mean ± std. dev. of 7 runs, 100000 loops each)
This is 3 times slowe
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 20, 2021 - Python
-
Updated
Jan 20, 2021 - JavaScript
-
Updated
Dec 19, 2020 - Python

-
Updated
Dec 27, 2020 - Python
Screenshot
attached
Description
- click one dashboard
- in the dashboard page, the table on the left part has the name and count attributes. next to the name attribute, the sorting label was placed too far away from its text.
<img width="1402" alt="Screen Shot 2021-01-15 at 2 35 11 AM" src="https://user-images.githubusercontent.com/4502866/104715562-930f1d80-56db-11eb-8cb1-b2
-
Updated
Nov 28, 2020
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
we should just ban this with a precommit style rule (and import things directly). the doc-strings also should be updated to do the import once.
grep -r pd.api.types ~/pandas-dev/pandas
/home/jreback/pandas-dev/pandas/_libs/lib.pyx: >>> pd.api.
-
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