''CustomDF' object has no attribute '_mgr'
I tried to read csv file using class. It showed an error message : 'CustomDF' object has no attribute '_mgr', when I pass df = CustomDF('test.csv'), support needed!
class CustomDF(pd.DataFrame):
def __init__(self, filename):
self = pd.read_csv(filename)
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
