fmilthaler / FinQuant

A program for financial portfolio management, analysis and optimisation.
MIT License
1.38k stars 190 forks source link

Depreciation pandas #73

Closed Leohanhart closed 1 year ago

Leohanhart commented 1 year ago

Error while using package

error

-packages\finquant\portfolio.py:260: FutureWarning: The frame.append method is deprecated and will be removed from pandas in a future version. Use pandas.concat instead. self.portfolio = self.portfolio.append(stock.investmentinfo, ignore_index=True)

Cant this problem be solved.

onenetbee commented 1 year ago

I also get this problem for "AttributeError: 'DataFrame' object has no attribute 'append'" I change to concat but it doesn't work

fmilthaler commented 1 year ago

@Leohanhart and @onenetbee, thank you two for reporting this, and my dearest apologies for this taking so long. I have been absent from GitHub for a long time, but thanks to @PietropaoloFrisoni, this is finally fixed. More issues are worked on now.

onenetbee commented 1 year ago

@fmilthaler Thank you very much!

onenetbee commented 1 year ago

@PietropaoloFrisoni Thank you very much! I just read the reply and I will try with your method.

fmilthaler commented 1 year ago

@onenetbee I'll also create and upload a new version of FinQuant in the next few days, when other things have been fixed. So if you are still interested, look out for that.

onenetbee commented 1 year ago

OK, Thank you.

Dans

Frank Milthaler @.***> 于2023年7月7日周五 12:55写道:

@onenetbee https://github.com/onenetbee I'll also create and upload a new version of FinQuant in the next few days, when other things have been fixed. So if you are still interested, look out for that.

— Reply to this email directly, view it on GitHub https://github.com/fmilthaler/FinQuant/issues/73#issuecomment-1624787276, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHOQZ5IZYX5RZA4V2IIC4TTXO6QGLANCNFSM6AAAAAATSEFHWU . You are receiving this because you were mentioned.Message ID: @.***>