The Python Oracle

Videos

Timedelta object cannot be converted with astype()

9.9K

Why does python behave this way with variables?

516

Any way to change color bar (cbar) in seaborn to a legend (for a binary heatmap)?

4.6K

Basic pattern recognition in binary (pixelated) image

2.1K

Partial fraction decomposition using SymPy / Python

2.3K

Saving an animated Matplotlib graph as a GIF file results in a different looking plot

8.2K

Dissecting a line of (obfuscated?) Python

964

Get template name in template tag ( Django )

7.6K

How to handle a dict variable with 2^50 elements?

454

django request.session.get("name", False) - What does this code mean?

10.3K

Python check for NoneType not working

41.2K

subprocess popen.communicate() vs. stdin.write() and stdout.read()

15.2K

Get (column, row) index from NumPy array that meets a boolean condition

9.7K

Python-mock: how to test if super() was called

6.2K

packing named arguments into a dict

2.3K

Scikit-learn custom score function needs values from dataset other than X and y

1.5K

Django, How to make multiple annotate in a single queryset

10.1K

How can this code print Hello World without any print statement

3.9K

NaN is not recognized in pandas after np.where clause. Why? Or is it a bug?

20.2K

Django migration being killed

4.2K

How do I apply both bold and italics in python-docx?

20.6K

Detecting that an object is repeatedly iterable

152

How can I convert string to source code in python?

18.7K

map function run into infinite loop in 3.X

677

Difference between video capture read and grab

13.2K

How to obtain only the first True value from each row of a numpy array?

4K

How to return dictonary or json if I use psycopg2?

9.4K

object is subclassed during dynamic type creation but not during classic class definition in python2

152

How do you invert a tensor of boolean values in Pytorch?

12.4K

Argparse: Making required flags

10.6K

Python : is it ok returning both boolean and string?

8.9K

How can I sort a coordinate list for a rectangle counterclockwise?

11.6K

Checkbox input using python mechanize

10.4K

Python: passing flags to functions

43.7K

Thread Safety with Template Tags

592

Is it guaranteed that False "is 0" and True "is 1"?

4.8K

My own method used in list_display and value as boolean icon

2.9K

How to Access files on Heroku?

10.3K

what does 'if x.strip( )' mean?

16.4K

factory_boy objects seem to lack primary keys

4.8K

postgres - cannot drop database using psycopg2

9K

How does Python 2.7.3 hash strings used to seed random number generators?

1.4K

python password rules validation

2.4K

django rest framework nested fields with multiple models

5.5K

Numpy optimization with Numba

5.3K

True + True = 2. Elegantly perform boolean arithmetic?

13.9K

Testing the connection of Postgres-DB

16.7K

Calculating Cross Entropy in TensorFlow

29.4K

Calling Cython functions from Numba jitted code

2.1K

How to check if a value in one list is in another list with a one-liner for an if statement in Python if I'm not using sets?

20.9K