Explain Codes LogoExplain Codes Logo

Python

What do the Python file extensions, .pyc .pyd .pyo stand for?

python
bytecode
performance-boosting
file-extensions

Programmatically generate video or animated GIF in Python?

python
image-processing
gif-animation
imageio

How to embed an image or picture in Jupyter Notebook, either from a local machine or from a web resource?

python
markdown
image-embedding
jupyter-notebook

How to call a script from another script?

python
functions
modules
best-practices

How do I resize an image using PIL and maintain its aspect ratio?

python
image-processing
aspect-ratio
resampling

Simple way to measure cell execution time in IPython notebook

python
time-tracking
ipython-notebook
performance-optimization

How do I compare version numbers in Python?

python
version-comparison
packaging-version
best-practices

Removing Conda environment

python
conda
environment-management
version-control

Convert base-2 binary number string to int

python
bitwise-operations
binary-conversion
numpy-performance

How do I convert all of the items in a list to floats?

python
list-comprehension
numpy-performance
data-types

Working with UTF-8 encoding in Python source

python
unicode
utf-8
encoding

Error: " 'dict' object has no attribute 'iteritems' "

python
python-3
dict
compatibility

How can I mix LaTeX in with Markdown?

python
pandoc
latex
markdown

Is there a built in function for string natural sort?

python
natural-sort
file-paths
custom-order

'conda' is not recognized as internal or external command

python
conda
environment-variables
anaconda

How can I convert each item in the list to string, for the purpose of joining them?

python
list-comprehensions
type-conversion
string-joining

How do you access the query string in Flask routes?

python
prompt-engineering
functions
response-objects

Filter dataframe rows if value in column matches a set list of values

python
dataframe
filtering
performance

How to sort a DataFrame in python pandas by two or more columns?

python
dataframe
sort-values
pandas

How to get/set a pandas index column title or name?

python
dataframe
rename_axis
index-attributes