Explain Codes LogoExplain Codes Logo

Python

Format y axis as percent

python
matplotlib
plotting
data-visualization

Formatting "yesterday's" date in Python

python
date-formatting
datetime
python-2-compatibility

Format / Suppress Scientific Notation from Pandas Aggregation Results

python
dataframe
formatting
pandas

Format numbers in Django templates

python
django-templates
number-formatting
locale-aware

Fitting empirical distribution to theoretical ones with Scipy (Python)?

python
dataframe
pandas
best-practices

Find where python is installed (if it isn't default dir)

python
prompt-engineering
functions
venv

Finding the first element in a sequence that adheres to a condition

python
generator-expressions
lazy-evaluation
best-practices

Finding Median of List in Python

python
functions
sorting
performance

Find index of last occurrence of a substring in a string

python
functions
best-practices
performance

Find first sequence item that matches a criterion

python
generator
next
performance

Fatal error: Python.h: No such file or directory

python
prompt-engineering
best-practices
venv

Failed to install Python Cryptography package with PIP and setup.py

python
pip-install
cryptography
openssl

Extract protocol and host name from URL

python
url-parsing
urlparse
urlsplit

Error running 'pip install': "ImportError: No module named pip"

python
pip-installation
python-versions
virtual-environments

Error: "dictionary update sequence element #0 has length 1; 2 is required" on Django 1.4

python
dictionary-management
django-urls
best-practices

Encoding an image file with base64

python
image-processing
base64-encoding
pillow-library

Else clause on Python while statement

python
loop-termination
best-practices
exception-handling

Efficient way to rotate a list in Python

python
deque
numpy
performance

E731 do not assign a lambda expression, use a def

python
best-practices
functions
code-readability

Dynamic instantiation from string name of a class in dynamically imported module?

python
prompt-engineering
functions
best-practices