bach.DataFrame.get_unsampled
get_unsampled
()Return a copy of the current sampled DataFrame, that undoes calling get_sample()
earlier.
All other operations that have been done on the sample DataFrame will be applied on the DataFrame
that is returned. The returned DataFrame’s data will look as if get_sample()
was never
called, but the state of the DataFrame could be slightly different since get_sample()
might have called materialize()
.
This does not remove the table that was written to the database by get_sample()
, the new
DataFrame just does not query that table anymore.
Will raise an error if the current DataFrame is not sample data of another DataFrame, i.e.
get_sample()
has not been called.
Returns
An unsampled copy of the current sampled DataFrame.