%%ag
"""
pdf: {randomly sampled}
columns = ['A','B','C']
metadata = (0,100) for all columns
size = 1000
pdf2: {randomly sampled}
columns = ['E','F']
metadata = (-100,100) for all columns
size = 1000
ps: {randomly sampled series}
name = 'series'
metadata = (0,100)
size = 1000
"""
pdf = PrivateDataFrame(pd.DataFrame({"A": np.random.randint(0,100,1000), "B": np.random.randint(0,100,1000), "C": np.random.randint(0,100,1000)}), metadata = {"A": (0, 100), "B": (0, 100), "C": (0, 100)} , foreign_keys={"A": (2, "")} )
pdf2 = PrivateDataFrame(pd.DataFrame({"E": np.random.randint(-100,100,1000), "F": np.random.randint(-100,100,1000)}), metadata = {"E": (-100, 100), "F": (-100, 100)} , foreign_keys={"E": (1, "")} )
ps = PrivateSeries(pd.Series(np.random.randint(0,100,1000)), metadata=(0,100) , foreign_keys={"A": (2, "")} )
*foregin keys should be specified on the metadata with maximum frequency attribute.
*on parameter must be provided in join , if you want to join to dataframe with different column name use merge.