Data FrameΒΆ
Example
>>> from techminer2.database.metrics.records_by_year import DataFrame
>>> # Create, configure, and run the generator:
>>> generator = (
... DataFrame()
... #
... .where_root_directory_is("example/")
... .where_database_is("main")
... .where_record_years_range_is(None, None)
... .where_record_citations_range_is(None, None)
... )
>>> df = generator.run()
>>> df.head()
OCC cum_OCC ... mean_local_citations mean_local_citations_per_year
year ...
2015 1 1 ... 5.000000 1.00
2016 7 8 ... 1.142857 0.29
2017 10 18 ... 2.600000 0.87
2018 17 35 ... 1.588235 0.79
2019 15 50 ... 0.133333 0.13
[5 rows x 11 columns]