Explain Codes LogoExplain Codes Logo

Python

Python pandas Filtering out nan from a data selection of a column of strings

python
dataframe
pandas
data-cleaning

Difference between del, remove, and pop on lists

python
list-manipulation
python-basics
best-practices

Shuffle an array with python, randomize array item order with python

python
shuffle
randomization
dataframe

Python strings and integer concatenation

python
string-manipulation
integer-concatenation
python-features

How to sort a list/tuple of lists/tuples by the element at a given index

python
performance
best-practices
dataframe

"unicode Error 'unicodeescape' codec can't decode bytes..." when writing Windows file paths

python
unicode-error
file-paths
raw-strings

Set up Python simpleHTTPserver on Windows

python
venv
http-server
basic-authentication

How to change plot background color?

python
matplotlib
plotting
customization

How do I prepend to a short python list?

python
performance
best-practices
collections

How do I count the NaN values in a column in pandas DataFrame?

python
pandas
dataframe
missing-values

How can I read and process (parse) command line arguments?

python
prompt-engineering
functions
advanced-parsing

Drop all duplicate rows across multiple columns in Python Pandas

python
pandas
dataframe
drop_duplicates

Pandas DataFrame: replace nan values with average of columns

python
pandas
dataframe
fillna

How to draw a rectangle on image

python
image-processing
matplotlib
pillow

Sort a list of tuples by 2nd item (integer value)

python
functions
performance
best-practices

How to check if a float value is a whole number

python
precision-engineering
float-comparisons
python-3.5

Python integer incrementing with ++

python
incrementing
pythonic-way
best-practices

How do I look inside a Python object?

python
object-introspection
python-objects
attribute-access

How to call a Python function from Node.js

python
child-process
async-await
promises

Starting python debugger automatically on error

python
prompt-engineering
debugging
exception-handling