DataFrame.
std
Return standard deviation for each numeric column
Which datatype to be returned - True: Returns all values as float64, NaN/NaT values are removed - None: Returns all values as the same dtype where possible, NaN/NaT are removed - False: Returns all values as the same dtype where possible, NaN/NaT are preserved
The value of the standard deviation for each numeric column
See also
Examples
>>> df = ed.DataFrame('localhost', 'flights', columns=["AvgTicketPrice", "Cancelled", "dayOfWeek", "timestamp", "DestCountry"]) >>> df.std() AvgTicketPrice 266.407061 Cancelled 0.334664 dayOfWeek 1.939513 dtype: float64
>>> df.std(numeric_only=True) AvgTicketPrice 266.407061 Cancelled 0.334664 dayOfWeek 1.939513 dtype: float64
>>> df.std(numeric_only=False) AvgTicketPrice 266.407 Cancelled 0.334664 dayOfWeek 1.93951 timestamp NaT DestCountry NaN dtype: object