Skip to content

Commit 54d7948

Browse files
Fix doc typos and minor clarification (#207)
* wip * wip * wip
1 parent b464bd9 commit 54d7948

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

docs/source/DISTRIBUTIONS.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,13 @@ The following distributions are supported:
2222
- Exponential distribution
2323

2424
> Note the `distribution` option will have no effect for values that are not randomly generated as
25-
> per use of the `random` option
25+
> per use of the `random` option.
26+
>
27+
> For values generated randomly, continuous distributions can still be used with discrete values such as strings
28+
> as the underlying random numbers used to select the appropriate discrete values will be drawn from the specified
29+
> distribution. So, for discrete values, the frequency of occurrence of particular values should conform approximately
30+
> to the underlying distribution.
31+
2632

2733
### Examples
2834

docs/source/generating_from_existing_data.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ For more information, see :data:`~dbldatagen.data_analyzer.DataAnalyzer`
2020
Analyzing the data to be synthesized
2121
------------------------------------
2222

23-
You can use the ``summarizeToDf()`` method to generate a summary analysis of a dataframe.
23+
You can use the ``summarizeToDF()`` method to generate a summary analysis of a dataframe.
2424

2525
Example:
2626

@@ -32,7 +32,7 @@ Example:
3232
3333
analyzer = dg.DataAnalyzer(sparkSession=spark, df=dfSource)
3434
35-
display(analyzer.summarizeToDf())
35+
display(analyzer.summarizeToDF())
3636
3737
Generating code to produce the synthetic data set
3838
-------------------------------------------------

0 commit comments

Comments
 (0)