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
The current implementation of the sample function is based on the sample function of pyspark, and the parameter n is not supported, and frac cannot be empty.
From the source code of pandas, https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L5076
the implementation of the sample function relies on methods such as iloc, take and reindex. These methods are currently supported by koalas. Therefore, the implementation of the sample function can be based on the current logic of pandas.
I will try to implement the sample function of frame and series from this idea.
The text was updated successfully, but these errors were encountered:
The current implementation of the sample function is based on the sample function of pyspark, and the parameter n is not supported, and frac cannot be empty.
From the source code of pandas, https://github.com/pandas-dev/pandas/blob/master/pandas/core/generic.py#L5076
the implementation of the sample function relies on methods such as iloc, take and reindex. These methods are currently supported by koalas. Therefore, the implementation of the sample function can be based on the current logic of pandas.
I will try to implement the sample function of frame and series from this idea.
The text was updated successfully, but these errors were encountered: