remove "exemple" in docstring
This commit is contained in:
parent
529870b680
commit
2cb909e31e
@ -19,7 +19,6 @@ def random_generator(length,\
|
|||||||
:param v_max: maximum accepted value
|
:param v_max: maximum accepted value
|
||||||
:param exact_mean: if set, the last generated number will be create in order that the computed mean is exacly equal to "exact_mean"
|
:param exact_mean: if set, the last generated number will be create in order that the computed mean is exacly equal to "exact_mean"
|
||||||
|
|
||||||
: Exemple:
|
|
||||||
>>> random_generator(10)
|
>>> random_generator(10)
|
||||||
>>> random_generator(10, distrib = uniform, rd_args = (5, 10))
|
>>> random_generator(10, distrib = uniform, rd_args = (5, 10))
|
||||||
>>> random_generator(10, distrib = "uniform", rd_args = (5, 10))
|
>>> random_generator(10, distrib = "uniform", rd_args = (5, 10))
|
||||||
|
@ -95,8 +95,6 @@ class WeightedDataset(dict):
|
|||||||
|
|
||||||
:return: un tuple avec (min, Q1, Me, Q3, Max)
|
:return: un tuple avec (min, Q1, Me, Q3, Max)
|
||||||
|
|
||||||
: Exemple:
|
|
||||||
|
|
||||||
>>> w = WeightedDataset(flatten_list([i*[i] for i in range(5)]))
|
>>> w = WeightedDataset(flatten_list([i*[i] for i in range(5)]))
|
||||||
>>> w.quartiles()
|
>>> w.quartiles()
|
||||||
(1, 2, 3, 4, 4)
|
(1, 2, 3, 4, 4)
|
||||||
|
Loading…
Reference in New Issue
Block a user