You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am confused about the standardise method in the code -
def zero_base_standardise(self, data, abs_base=pd.DataFrame()):
"""Standardise dataframe to be zero based percentage returns from i=0"""
if(abs_base.empty): abs_base = data.iloc[0]
data_standardised = (data/abs_base)-1
return (abs_base, data_standardised)
I think (data/abs_base)-1 should be far from standardised values, could you please kindly let me know if I misunderstood anything?
Thank you very much!
The text was updated successfully, but these errors were encountered:
Dears,
I am confused about the standardise method in the code -
My understanding about the standarise is -
I think
(data/abs_base)-1
should be far from standardised values, could you please kindly let me know if I misunderstood anything?Thank you very much!
The text was updated successfully, but these errors were encountered: