Dataframe

This module demonstrates how to create a DataFrame using the Bradford’s Law metrics with the DataFrame class. The process involves configuring the database parameters.

Example

>>> from techminer2.database.metrics.bradford_law import DataFrame
>>> generator = (
...     DataFrame()
...     #
...     # DATABASE:
...     .where_root_directory_is("example/")
...     .where_database_is("main")
...     .where_record_years_range_is(None, None)
...     .where_record_citations_range_is(None, None)
...     .where_records_match(None)
... )
>>> df = generator.run()
>>> df
   Num Sources        %  ...  Tot Documents Bradford's Group
0            1   2.44 %  ...          6.0 %                1
1            7  17.07 %  ...         34.0 %                2
2           33  80.49 %  ...        100.0 %                3

[3 rows x 9 columns]