ednunezg / pytrendline

Python module - detection of support and resistance trendlines for technical analysis. With tuning parameters and plotting capabilities
MIT License
68 stars 26 forks source link

AttributeError: 'DataFrame' object has no attribute 'append' #6

Open JWLEESF opened 1 year ago

JWLEESF commented 1 year ago

Traceback (most recent call last): File "C:\Users\X\Desktop\PERSONAL\Python\pytrendline-master\example.py", line 29, in results = pytrendline.detect( File "C:\Users\X\Desktop\PERSONAL\Python\pytrendline-master\pytrendline\detect.py", line 385, in detect support_trendlines, support_pivots = detect_wrapped(structs.TrendlineTypes.SUPPORT) File "C:\Users\X\Desktop\PERSONAL\Python\pytrendline-master\pytrendline\detect.py", line 347, in detect_wrapped trends_df = trends_df.append({ File "C:\Users\X\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\pandas\core\generic.py", line 5989, in getattr return object.getattribute(self, name) AttributeError: 'DataFrame' object has no attribute 'append'

How can I fix this?

wkarny commented 9 months ago

Fixed by PR #7