I have a dataset where the pandas.read_csv() processing appropriately casted some continuous numeric column/feature/variable data from object to float64 [ , int64 or uint8 ] but not others.
So I then try and convert the column data that should have been cast as continuous numeric type, specifically int64, using the following pandas.to_numeric() call with downcast parameter specified yet I still get a float64 result.
df.wc = pd.to_numeric(df.wc, errors='coerce', downcast='signed')
# call to convert object to int64 vs float64
Is there a typical column/feature/variable set issue that will cause that parameter setting to be ignored when attempting to cast an object type to the most specific continuous numeric type?