The Python Oracle

Videos

Finding False-True transitions in a numpy array

3.1K

How does tf.keras.layers.Conv2D with padding='same' and strides > 1 behave?

9.3K

django - inlineformset_factory with more than one ForeignKey

4.6K

Format timedelta to string

466.9K

Groupby with boolean condition True in one of the columns in Pandas

2K

Why wouldn't this palindrome test work?

225

Fastest possible contagion algorithm with iGraph

339

Saving images in Python at a very high quality

321.3K

applying "tighter" bounds in scipy.optimize.curve_fit

13.5K

Elif-row without else python

20K

Numpy how to iterate over columns of array?

167.3K

Element-wise addition of 2 lists?

386.1K

python ternary in jinja2 gives TemplateSyntaxError: tag name expected

14.5K

Query Performance with LIMIT 0

383

How to create a density plot in matplotlib?

297.5K

pandas: read_csv how to force bool data to dtype bool instead of object

16.6K

Python, Filter a List of Objects, but return a specific attribute?

15.3K

Re-inspection of values in a Traceback

168

How to get Linux console window width in Python

140.5K

Is it possible to type hint a lambda function?

88.3K

Rotating a two-dimensional array in Python

140.5K

Installing pip packages to $HOME folder

323K

Encoding an image file with base64

398.1K

How to see the raw SQL queries Django is running?

266.3K

Django self-referential foreign key

91.6K

If Python is interpreted, what are .pyc files?

614.4K

Should conda, or conda-forge be used for Python environments?

116.2K

How to have logarithmic bins in a Python histogram

103.7K

Primality test in python

29.3K

empty_string in some_string - always true?

460

Create a "with" block on several context managers?

104.8K

What values are valid in Pandas 'Freq' tags?

68.8K

What is the difference between os.path.basename() and os.path.dirname()?

226K

Why is tuple larger than a list in python?

374

SFTP in Python? (platform independent)

265.6K

Reverse / invert a dictionary mapping

699K

Python - is pentagonal number check

2.9K

Scikit-learn classifier with custom scorer dependent on a training feature

880

Python group by

219.2K

An easy way to show images in Django on deployment (DEBUG=false)

2.6K

Find groups of values that are !=0 in a list

758

How to get Trac (CommitTicketUpdater) w/Mercurial to close|resolve tickets on commit?

1.2K

Difference between Popen.poll() and Popen.wait()

8.8K

Plot two histograms on single chart with matplotlib

568.3K

Using decision tree regression and cross-validation in sklearn

17.5K

Checking if list is a sublist

86.9K

How to query as GROUP BY in django?

469.2K

Tornado celery integration hacks

7.4K

Filter with multiple conditions on a single related object

12.4K

How to solve SyntaxError on autogenerated manage.py?

241.1K