Skip to content

Instantly share code, notes, and snippets.

View charlieskc's full-sized avatar
💭
Learning something new

Siu Kai Ching, Charlie charlieskc

💭
Learning something new
  • Morgan Stanley
  • Hong Kong
View GitHub Profile
@bsweger
bsweger / useful_pandas_snippets.md
Last active November 13, 2024 19:55
Useful Pandas Snippets

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)