Data FrameΒΆ

>>> from techminer2.database.metrics.tfidf import DataFrame
>>> (
...     DataFrame()
...     #
...     .with_field("raw_author_keywords")
...     .having_terms_in_top(10)
...     .having_terms_ordered_by("OCC")
...     .having_term_occurrences_between(None, None)
...     .having_term_citations_between(None, None)
...     .having_terms_in(None)
...     #
...     # COUNTERS:
...     .using_term_counters(True)
...     #
...     # TFIDF:
...     .using_binary_term_frequencies(False)
...     .using_row_normalization(None)
...     .using_idf_reweighting(False)
...     .using_idf_weights_smoothing(False)
...     .using_sublinear_tf_scaling(False)
...     #
...     # 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)
...     #
...     .run()
... ).head()
raw_author_keywords                             FINTECH 31:5168  ...  CASE_STUDY 02:0340
record_id                                                        ...
Anagnostopoulos I., 2018, J ECON BUS, V100, P7                1  ...                   0
Anshari M., 2019, ENERGY PROCEDIA, V156, P234                 0  ...                   0
Buchak G., 2018, J FINANC ECON, V130, P453                    1  ...                   0
Cai C.W., 2018, ACCOUNT FINANC, V58, P965                     1  ...                   0
Chen L./1, 2016, CHINA ECON J, V9, P225                       1  ...                   0

[5 rows x 10 columns]