... index=['tiger', 'zebra']) >>> df.mean(numeric_only=True) a 1.5 dtype: float64r