Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DataFrame has no append (deprecated) for oanda currencies #7

Open
mathisloevenich opened this issue Nov 22, 2024 · 0 comments
Open

Comments

@mathisloevenich
Copy link

In the get.py there are DataFrames concatenated via append which is deprecated I guess:

here is my solution (workaround):

 if provider == 'oanda':
        csv_files = glob.glob('{0}/currencies/oanda/{1}/{2}/*.csv'.format(data_dir, instrument, year))
        data_frames = [pd.read_csv(csv_file, index_col=0) for csv_file in csv_files]
        price_data = pd.concat(data_frames)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant