A personal diary of DataFrame munging over the years.
Convert Series datatype to numeric (will error if column has non-numeric values)
(h/t @makmanalp)
# coding: utf-8 | |
# In[297]: | |
import pandas as pd | |
import numpy as np | |
import matplotlib.pyplot as plt | |
pd.options.display.max_rows = 2 |
A personal diary of DataFrame munging over the years.
Convert Series datatype to numeric (will error if column has non-numeric values)
(h/t @makmanalp)