For below code, I get an attribute error,
total_device_df = total_device_df.append(KatsRequest().parse_json_response(filename, device_names))
Error:
AttributeError: 'DataFrame' object has no attribute 'append'. Did you mean: '_append'?
While I googled, it taught I need to update from total_device_df.append ---> total_device_df.concat
as I am using Pandas Version: 2.0.1. Even though I changed to concat, I get the same attribute error for concat (AttributeError: 'DataFrame' object has no attribute 'concat'
)
What am I doing wrong?