Data FrameΒΆ

>>> from techminer2.database.metrics.trend import DataFrame
>>> (
...     DataFrame()
...     #
...     .where_root_directory_is("example/")
...     .where_database_is("main")
...     .where_record_years_range_is(None, None)
...     .where_record_citations_range_is(None, None)
...     #
...     .run()
... )
      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]