Skip to content

Instantly share code, notes, and snippets.

View balanidiv's full-sized avatar

Div Balani balanidiv

View GitHub Profile

Useful Pandas Snippets

A personal diary of DataFrame munging over the years.

Data Types and Conversion

Convert Series datatype to numeric (will error if column has non-numeric values)
(h/t @makmanalp)