In excel i could transform an entire column of dates or string in number using number_value formula. Can I do something like this in Python with pandas at on my dataFrames?
The code below should transform string values to a numeric value. The first line is only needed if you are transforming dates from a string to a number.
pd.to_numericordf[col].astype(int) or (float)