Когда я пытаюсь создать график распространения, я получаю сообщение об ошибке:
Код: Выделить всё
AttributeError: module 'pandas' has no attribute 'np'Код: Выделить всё
if kind=='spread':
trace=self.apply(lambda x:x[0]-x[1],axis=1)
positive=trace.apply(lambda x:x if x>=0 else pd.np.nan)
negative=trace.apply(lambda x:x if x
Подробнее здесь: [url]https://stackoverflow.com/questions/76459499/attributeerror-module-pandas-has-no-attribute-np-cufflinks-spread-graph[/url]
Мобильная версия