>>> import pandas as pd >>> df1 = pd.read_csv('sample.csv') >>> df1.mean() :1: FutureWarning: Dropping of nuisance columns in DataFrame reductions (with 'numeric_only=None') is deprecated; in a future version this will raise TypeError. Select only valid columns before calling the reduction. Eng 83.1 Math 73.7 dtype: float64 [ Solve ] Select only valid columns or set numeric_only=True. >>> df1.me..