clarite.modify.merge_observations

clarite.modify.merge_observations(top:pandas.core.frame.DataFrame, bottom:pandas.core.frame.DataFrame)

Merge two datasets, keeping only the columns present in both. Raise an error if a datatype conflict occurs.

Parameters
top: pd.DataFrame

“top” DataFrame

bottom: pd.DataFrame

“bottom” DataFrame

Returns
result: pd.DataFrame