How to select an exect number of random rows from DataFrame
How can I select an exact number of random rows from a DataFrame efficiently? The data contains an index column that can be used. If I have to use maximum size, what is more efficient, count() or max() on the index column?
Aucun commentaire:
Enregistrer un commentaire