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

Change append to concat in pandas dataframes to be compatible with Pandas >=2.0.0 #29

Open
brunomorampc opened this issue Aug 13, 2023 · 2 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@brunomorampc
Copy link
Member

See issue https://stackoverflow.com/questions/75956209/dataframe-object-has-no-attribute-append

@brunomorampc brunomorampc added enhancement New feature or request good first issue Good for newcomers labels Aug 13, 2023
@musaddiq-ashfaq
Copy link

In which file do you want this change?

@brunomorampc
Copy link
Member Author

Hi @musaddiq-ashfaq thanks for your interest!

For example here

data = self._data_sets[0].append(self._data_sets[1:], ignore_index=True, sort=False)

there might be other places though. Ideally one should run all tests and examples with pandas 2.0.0 and see where the problem occurs. I got the problem in that line by running this example https://github.com/hilo-mpc/examples/blob/main/nmpc_hybrid_bio.py

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants