Skip to content

AttributeError: 'pandas._libs.properties.CachedProperty' object has no attribute 'func'QST:  #46474

Closed
@threehappy

Description

@threehappy

Research

  • I have searched the [pandas] tag on StackOverflow for similar questions.

  • I have asked my usage related question on StackOverflow.

Link to question on StackOverflow

AttributeError: 'pandas._libs.properties.CachedProperty' object has no attribute 'func'QST:

Question about pandas

%matplotlib inline

import numpy as np
import pandas as pd
import pandas_datareader.data as web

from pyfinance.ols import PandasRollingOLS

replaces pyfinance.ols.PandasRollingOLS (no longer maintained)

from statsmodels.regression.rolling import RollingOLS
import statsmodels.api as sm
from talib import RSI, BBANDS, MACD, NATR, ATR

from sklearn.feature_selection import mutual_info_classif, mutual_info_regression

import matplotlib.pyplot as plt
import seaborn as sns


--> 516 @appender(RegressionResults.aic.func.doc)
517 def aic(self):
518 return self._wrap(RegressionResults.aic.func(self))
520 @cache_readonly
521 @appender(RegressionResults.bic.func.doc)
522 def bic(self):

AttributeError: 'pandas._libs.properties.CachedProperty' object has no attribute 'func'

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs TriageIssue that has not been reviewed by a pandas team memberUsage Question

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions