Python StackOverflow (@PythonStack) profile picture

StackOverflow feed of Python questions matching certain criteria.

Joined July 2013
Why is b.pop(0) over 200 times slower than del b[0] for bytearray? [Score:47] https://www.teapawt.org/t.co/iS3fpWx3zh
2
5
20
8,207
How to compute the Jacobian of a pairwise distance function (`scipy.spatial.pdist`) [Score:8] https://www.teapawt.org/t.co/E8ZY5MNNLb
8
14
10,982
pre-commit fails to install isort 5.11.4 with error "RuntimeError: The Poetry configuration is invalid" [Score:29] https://www.teapawt.org/t.co/R74VZMeTjt
4
20
10,833
Improving performance for a nested for loop iterating over dates [Score:8] https://www.teapawt.org/t.co/Gz08MVovGh
6
12
7,576
Extend list with another list in specific index? [Score:7] https://www.teapawt.org/t.co/6A3YDQZA5P
1
3
10
7,039
Error Updating Python3 pip AttributeError: module 'lib' has no attribute 'OpenSSL_add_all_algorithms' [Score:7] https://www.teapawt.org/t.co/V8lVkHga4l
2
4
4,820
How to remove the error "SystemError: initialization of _internal failed without raising an exception" [Score:6] https://www.teapawt.org/t.co/4kOZPKgkQg
2
10
4,224
How to solve AttributeError: module 'numpy' has no attribute 'bool'? [Score:8] https://www.teapawt.org/t.co/utCfMJXfNK
2
3
4
4,006
Which objects are not destroyed upon Python interpreter exit? [Score:11] https://www.teapawt.org/t.co/G9vmjTUkAD
1
3
3
4,322
Optimizing a puzzle solver [Score:8] https://www.teapawt.org/t.co/B10YftSACs
1
1
5
3,883
Different behavior of apply(str) and astype(str) for datetime64[ns] pandas columns [Score:9] https://www.teapawt.org/t.co/NYEEdX6wyk
1
1
5
3,917
How can I properly hash dictionaries with a common set of keys, for deduplication purposes? [Score:9] https://www.teapawt.org/t.co/wI2Pl8JDAp
1
2
7
5,443
How do I modify this function to return a 4d array instead of 3d? [Score:5] https://www.teapawt.org/t.co/auAIrhdQa9
1
2
11
5,153
AttributeError: module 'numpy' has no attribute 'typeDict' [Score:5] https://www.teapawt.org/t.co/seP9vBayNj
1
4
8
4,731
How to load a custom Julia package in Python using Python's juliacall [Score:7] https://www.teapawt.org/t.co/IMhKy0lYsI
1
2
11
5,065
How to explode two columns of lists with different length using pandas [Score:5] https://www.teapawt.org/t.co/YbdrJpzbaY
1
2
8
4,134
yield from vs yield in for-loop [Score:8] https://www.teapawt.org/t.co/OMJDY11qvo
2
4
14
6,064
I am looking for a comprehensive explanation of the `inputs` parameter of the `.backward()` method in PyTorch [Score:5] https://www.teapawt.org/t.co/0MxNcqmioI
1
2
4
3,883
A more efficient solution for balanced split of an array with additional conditions [Score:6] https://www.teapawt.org/t.co/Z6T66iGNgF
1
2
9
6,382
Does a bitwise "and" operation prepend zeros to the binary representation? [Score:5] https://www.teapawt.org/t.co/KAUenii7Kd
1
2
11
5,268