select only numeric variables pandas code example
Example 1: make string numeric pandas
df['DataFrame Column'] = df['DataFrame Column'].astype(int)
Example 2: python dataframe get numeric columns
dfnew = df.select_dtypes(include=np.number)
Example 3: python dataframe get numeric columns
dfnew = df._get_numeric_data()