Question: write a python script that reads in two pandas dataframes and i want to track the changes from one dataframe to another Table 1 fruit

write a python script that reads in two pandas dataframes and i want to track the changes from one dataframe to another
Table 1
fruit oz taken?
apple 5 yes
orange 2 yes
banana 5 no
Table 2
fruit oz taken? time
apple 5yes
avocado 2yes
banana 5yes 11am
grapes 2 no 12pm
output dataframe
fruiz oz taken
orange -> avacado at index <>
yes to no at index <>
grapes row added with 5 oz yes 10am
new column added of time
use pd.DataFrame (). show a screenshot of the code output with dummy data

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!