Skip to content

AttributeError: 'DataFrame' object has no attribute 'append'. #3

Description

@bezborodow

It appears that DataFrame.append has been deprecated in pandas version 2.0.

Version:

  Downloading pandas-2.0.1-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (12.2 MB)

Traceback:

Traceback (most recent call last):
  File "/home/dbezborodov/src/cpm-python/main.py", line 30, in <module>
    data = data.append(df)
           ^^^^^^^^^^^
  File "/home/dbezborodov/src/cpm-python/venv/lib64/python3.11/site-packages/pandas/core/generic.py", line 5989, in __getattr__
    return object.__getattribute__(self, name)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'DataFrame' object has no attribute 'append'. Did you mean: '_append'?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions