You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add an argument to sample (e.g. graceful_reject_sampling), which would default to False, that controls whether it should crash if no rows can be sampled within a given number of iterations or just return them with a warning.
If the user passes False (which would be the default) it would raise an exception like it currently does.
If the user passes True, and if it is not possible to generate all the requested rows, it would just issue a warning and return whatever it was able to generate except in the case in which it was not able to generate any valid row at all, in which an exception would also be raised.
The text was updated successfully, but these errors were encountered:
Problem Description
Add an argument to
sample
(e.g.graceful_reject_sampling
), which would default toFalse
, that controls whether it should crash if no rows can be sampled within a given number of iterations or just return them with a warning.False
(which would be the default) it would raise an exception like it currently does.True
, and if it is not possible to generate all the requested rows, it would just issue a warning and return whatever it was able to generate except in the case in which it was not able to generate any valid row at all, in which an exception would also be raised.The text was updated successfully, but these errors were encountered: