Apologies in advance if the problem sounds too trivial but I could not find any solution on the forum.
I want to merge two csv files.
file1:
name age city
john 20 abc
jack 15 def
alice 25 ghk
file2:
hobby grade
tyu 8
ghj 9
hjk 10
output file:
name age city hobby grade
john 20 abc tyu 8
jack 15 def ghj 9
alice 25 ghk hjk 10
What is the best way to do this? Can we do this using pandas?
Appreciate any help.
Thanks!