I have a dataframe with 182 rows. I want to add a column to it full of 0's except for twelve 1's distributed random in the df. Is it possible? Thanks
Aucun commentaire:
Enregistrer un commentaire