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
Pardon me if this is not the right place to ask such questions (not very familiar with github), but I can not understand a member function of class futuresAdjustedPrices(pd.Series) from sysobjects.adjusted_prices.py
`
@classmethod
def create_empty(futuresContractPrices):
"""
Our graceful fail is to return an empty, but valid, dataframe
"""
futures_contract_prices = futuresContractPrices(pd.Series(dtype="float64"))
return futures_contract_prices`
specifically , what is futuresContractPrices supposed to be, chatGPT tells me it should be called cls because it is a class method, I don't see any other mention of this anywhere else in the codebase
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Pardon me if this is not the right place to ask such questions (not very familiar with github), but I can not understand a member function of class futuresAdjustedPrices(pd.Series) from sysobjects.adjusted_prices.py
`
specifically , what is futuresContractPrices supposed to be, chatGPT tells me it should be called cls because it is a class method, I don't see any other mention of this anywhere else in the codebase
Beta Was this translation helpful? Give feedback.
All reactions