Question:we are trying to create new data frame using function and then append them in final data frame. i tried below code but not able to get appended data frame in final result. can anyone guide me here.
Answer:As of pandas v1.4.0,
appendis deprecated in favor of
concat(source). Also, you must assign the return value to
final_dfin order to see changes;
concatdo not update the data frames for you.
If you have better answer, please add a comment about this, thank you!