Generation

generate functionTue, 24 Jan 2023

there are two Pandas dataframes: rzd client_id rzd_revenue 0 111 1093 1 112 2810 2 113 10283 3 114 5774 4 115 981 auto client_id auto_revenue 0 113 57483 1 114 83 2 115 912 3 116 4834 4 117 98 Create a new dataframe joined and merge these 2 dataframes inside it

def join(rzd, auto): # YOUR CODE HERE joined = rzd.join(auto, how = 'outer') return joined

Questions about programming?Chat with your personal AI assistant