Lotka’s Law

>>> from techminer2.tools import lotka_law
>>> lotka = lotka_law(
...     #
...     # DATABASE PARAMS:
...     root_dir="example/",
...     database="main",
...     year_filter=None,
...     cited_by_filter=None,
... )
>>> # lotka.fig_.write_html("sphinx/_static/tools/lotka_law.html")
>>> print(lotka.df_.to_markdown())
|    |   Documents Written |   Num Authors |   Proportion of Authors |   Theoretical Num Authors |   Prop Theoretical Authors |
|---:|--------------------:|--------------:|------------------------:|--------------------------:|---------------------------:|
|  0 |                   1 |           105 |                   0.913 |                   105     |                      0.735 |
|  1 |                   2 |             9 |                   0.078 |                    26.25  |                      0.184 |
|  2 |                   3 |             1 |                   0.009 |                    11.667 |                      0.082 |