The Python Oracle

Videos

Sympy direction of rotation matrices

1.9K

Django 'Key(field)=() is duplicated'

4.1K

Plot dataframe with datetime index

4.2K

Getting lists of indices from pandas dataframe

867

TypeError: Input 'b' of 'MatMul' Op has type float32 that does not match type int32 of argument 'a'

6.7K

flask many-to-many-relation leads to "Multiple classes found for path"

3K

Fastest way of testing if a number is prime?

22K

Confusing object reference behaviour in recursion

52

python scrapy - extract data from <table> - no id tag

1.1K

python pandas groupby to identify rows

92

colocate_gradients_with_ops argument in TensorFlow?

3.5K

numpy 2d boolean array count consecutive True sizes

380

Restrictions on dynamically created functions with concurrent.futures.ProcessPoolExecutor

1.3K

Should I use Events, Semaphores, Locks, Conditions, or a combination thereof to manage safely exiting my multithreaded Python program?

698

use multithreading in numba

6.2K

In Python Pandas, how to search if column elements contains the first 2 digits

120

Comparing pd.Series and getting, what appears to be, unusual results when the series contains None

81

For each day, subtract last time row from the first time row with Python

662

Pandas: Check if column value is smaller than any previous column value

5K

Python Setting Values Without Loop

179

AffinityPropagation .labels_ vs .predict()

478

Find string in list of splitted string

69

How to tell the difference between a user-defined class and a built-in in Python 3?

730

is there any option to compare a variable with number and a string in a same if statement using or oprator?

69

Decorating with @tf.function changes if condition output

542

Deep learning with Pytorch: understanding the neural network example

446

Python global keyword visibility inside function

99

Pandas groupby get filtered sum over total sum

2.4K

`Docker logs` erroneously appears empty until container stops

1.3K

Pandas utilize Numpy Vectorization in a user defined function instead of using loops/lambda.apply()

230

Correct way to iterate over a dataframe using multiple conditionals

124

Efficiently read big csv file by parts using Dask

3.7K

How does sklearn's MLP predict_proba function work internally?

1.7K

Spell checking in PyQtWebEngine

152

Q object for CheckConstraint

253

pandas matching database with string keeping index of database

81

sort dict or list by second value of the tuple and then by the first one

510

combining groups of columns with boolean values to create multiple new columns

129

Script function to check if there is strange IP (IP which is not in whitelisted) in Python

175

Python sorted lambda function returning a boolean

652

Is there a clean way to check a variable inside a loop on the first iteration only or before its execution?

500

django JSONField doesn't accept value

1.8K

How to get a new numpy array based on conditions of two other numpy arrays using only numpy operations?

238

Why does this parent class setter call use type(self) rather than self?

101

Python text based game room to room movement

1.9K

Fuzzy regex: fuzzy count for substitution is always 1

156

Splitting Macbeth When a Character Speaks

133

Expand a list-like column in dask DF across several columns

245

Is there a way to infer in Python if a date is the actual day in which the DST (Daylight Saving Time) change is made?

667

How to create a subplot for each group of a pandas column

1.9K