like in series we can do np.std(my_series)
but why can’t we do the same in dictionary like np.std(my_dict.values())?
like in series we can do np.std(my_series)
but why can’t we do the same in dictionary like np.std(my_dict.values())?
try wrapping my_dict.values()
inside list( )
before passing to np.std.
np.std( list( my_dict.values( ) ) )