The following is easy on SQL but I cannot figure out how to do it on Pandas.
My inputs are:
import pandas as p
symb = p.DataFrame(['a', 'b', 'c'], columns=['symb'])
fld = p.DataFrame(['field1', 'field2', 'field3'], columns=['fld'])
I want to be able to get the following DataFrame as output:
symb fld
a field1
a field2
a field3
b field1
b field2
b field3
c field1
c field2
c field3
Any idea on how to get to this result?
Thanks!