skrub
skrub copied to clipboard
DOC - Shuffle the rows of the TableReport example in the home page
Describe the issue linked to the documentation
The example dataframe shown in the home page in the "interactive data exploration" section could be nicer: some of the words it contains are "Major Crimes", "Liquor", "Police", "Master", "Alcohol/Tobacco Enforcement", ... this was also mentioned in this comment
we could either shuffle the rows of the dataset to get a different sample, or consider using another dataset
Suggest a potential alternative/fix
No response
I can work on this
This issue can be fixed by editing the file doc/table_report.py, doing something like
X = X.sample(frac=1, random_state=11)
with a specific random_state to ensure reproducibility.
i will work on this