pandas change append -> concat (tusharedownloader.py,processor_wrds.py and FinRL_PaperTrading_Demo.ipynb) #1087
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Tages:
@xiaoyang
Issue :
#1078 (Help with: AttributeError: 'DataFrame' object has no attribute 'account_value)
Description
This pull request addresses issue #1078 by replacing the
append
function with theconcat
function. The issue was caused by a compatibility problem with pandas versions greater than 2.Changes Made
append
withconcat
in relevant code sectionstusharedownloader.py
,processor_wrds.py
also the same bug forFinRL_PaperTrading_Demo.ipynb
.finrl/meta/data_processors/processor_wrds.py:57:128: E501 line too long (145 > 127 characters) 1 E501 line too long (145 > 127 characters)
but now passed .