StackOverflow feed of Python questions matching certain criteria.

Joined July 2013
Photos and videos
Why is b.pop(0) over 200 times slower than del b[0] for bytearray? [Score:47] bit.ly/3KvCrgo

2
4
21
8,060
How to compute the Jacobian of a pairwise distance function (`scipy.spatial.pdist`) [Score:8] bit.ly/3lcjmoJ

8
15
10,883
pre-commit fails to install isort 5.11.4 with error "RuntimeError: The Poetry configuration is invalid" [Score:29] bit.ly/40rgRPJ

4
21
10,745
Improving performance for a nested for loop iterating over dates [Score:8] bit.ly/3XkJZ9c

5
11
7,509
Extend list with another list in specific index? [Score:7] bit.ly/3GFXCc6

1
3
10
6,989
Error Updating Python3 pip AttributeError: module 'lib' has no attribute 'OpenSSL_add_all_algorithms' [Score:7] bit.ly/3XwOQnx

2
4
4,797
How to remove the error "SystemError: initialization of _internal failed without raising an exception" [Score:6] bit.ly/3QBdYqV

1
9
4,200
How to solve AttributeError: module 'numpy' has no attribute 'bool'? [Score:8] bit.ly/3CEUr36

2
3
4
3,986
Which objects are not destroyed upon Python interpreter exit? [Score:11] bit.ly/3GVZyyD

1
3
3
4,307
Optimizing a puzzle solver [Score:8] bit.ly/3X79nPA

1
1
5
3,870
Different behavior of apply(str) and astype(str) for datetime64[ns] pandas columns [Score:9] bit.ly/3QbWMYO

1
1
5
3,903
How can I properly hash dictionaries with a common set of keys, for deduplication purposes? [Score:9] bit.ly/3G9qSI6

1
2
7
5,429
How do I modify this function to return a 4d array instead of 3d? [Score:5] bit.ly/3FYkpzr

1
1
11
5,133
AttributeError: module 'numpy' has no attribute 'typeDict' [Score:5] bit.ly/3I8af27

1
4
8
4,717
How to load a custom Julia package in Python using Python's juliacall [Score:7] bit.ly/3jBgNvX

1
2
11
5,051
How to explode two columns of lists with different length using pandas [Score:5] bit.ly/3GidgLR

1
2
8
4,122
yield from vs yield in for-loop [Score:8] bit.ly/3YSjQzI

2
4
14
6,054
I am looking for a comprehensive explanation of the `inputs` parameter of the `.backward()` method in PyTorch [Score:5] bit.ly/3jkBCLO

1
2
4
3,874
A more efficient solution for balanced split of an array with additional conditions [Score:6] bit.ly/3PQlCgX

1
2
10
6,376
Does a bitwise "and" operation prepend zeros to the binary representation? [Score:5] bit.ly/3GhcWgr

1
2
11
5,263