python-sprints / python-sprints.github.io

Python Sprints website
https://python-sprints.github.io/
12 stars 55 forks source link

pandas-docstrings: Specify when random data in examples might be OK #77

Closed dukebody closed 6 years ago

dukebody commented 6 years ago

Even if we want to avoid random data in examples, there are some cases where this might be justifiable or even desirable.

I don't know if the wording is OK or we can find more clear examples to don't be misleading.

FTR PRs where we are using random data:

datapythonista commented 6 years ago

lgtm.

@jorisvandenbossche ?

jorisvandenbossche commented 6 years ago

Yes that's good. Especially in the plotting ones we also don't really care about a fixed result (the plot is not saved but generated each time, so no problem it varies a bit in random data)