tablesample.merge¶
In [ ]:
tablesample.merge(tbs: tablesample)
Merges the input tablesample to a target tablesample.
In [1]:
from verticapy.utilities import tablesample
dataset = tablesample(values = {"index": ["region", "price", "quality"],
"Banana": ["Brazil", 2.3, 2],
"Manguo": ["Columbia", 6.7, 5],
"Apple": ["France", 1.5, 2]},).transpose()
dataset2 = tablesample(values = {"index": ["region2", "price2", "quality2"],
"Banana": ["Portugal", 3.0, 3],
"Manguo": ["Spain", 2.0, 3],
"Apple": ["Germany", 4.0, 4]},).transpose()
display(dataset)
display(dataset2)
In [2]:
dataset.merge(dataset2)
Out[2]: