Jovian
⭐️
Sign In
In [4]:
import pandas as pd
import numpy as np
In [12]:
nmit = {"Branch":["ISE","CSE","ECE","MEC"],"GOOGLE":[100,200,20,40],"AMAZON":[200,124,35,67]}
In [13]:
print(nmit)
{'Branch': ['ISE', 'CSE', 'ECE', 'MEC'], 'GOOGLE': [100, 200, 20, 40], 'AMAZON': [200, 124, 35, 67]}
In [20]:
n1 = pd.DataFrame(nmit)
n1
Out[20]:
In [21]:
nmit1 = {"Branch":["ISE","CSE","ECE","MEC"],"BOSCH":[29,34,53,23],"IBM":[45,134,12,80]}
print(nmit1)
{'Branch': ['ISE', 'CSE', 'ECE', 'MEC'], 'BOSCH': [29, 34, 53, 23], 'IBM': [45, 134, 12, 80]}
In [22]:
n2 = pd.DataFrame(nmit1)
n2
Out[22]:
In [24]:
mer = pd.merge(n1,n2)
mer
Out[24]:
In [ ]: