Co-occurrence DataFrameΒΆ

>>> from techminer2.packages.co_occurrence_matrix import DataFrame
>>> (
...     DataFrame()
...     #
...     # COLUMNS:
...     .with_field("raw_author_keywords")
...     .having_terms_in_top(10)
...     .having_terms_ordered_by("OCC")
...     .having_term_occurrences_between(2, None)
...     .having_term_citations_between(None, None)
...     .having_terms_in(None)
...     #
...     # ROWS:
...     .with_other_field("authors")
...     .having_other_terms_in_top(None)
...     .having_other_terms_ordered_by(None)
...     .having_other_term_occurrences_between(2, None)
...     .having_other_term_citations_between(None, None)
...     .having_other_terms_in(None)
...     #
...     # COUNTERS:
...     .using_term_counters(True)
...     #
...     # 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(10)
                 rows                      columns  OCC
0  Jagtiani J. 3:0317              FINTECH 31:5168    3
1  Jagtiani J. 3:0317  MARKETPLACE_LENDING 03:0317    3
2    Dolata M. 2:0181              FINTECH 31:5168    2
3    Dolata M. 2:0181           INNOVATION 07:0911    2
4       Gai K. 2:0323              FINTECH 31:5168    2
5    Hornuf L. 2:0358              FINTECH 31:5168    2
6   Lemieux C. 2:0253              FINTECH 31:5168    2
7   Lemieux C. 2:0253  MARKETPLACE_LENDING 03:0317    2
8       Qiu M. 2:0323              FINTECH 31:5168    2
9   Schwabe G. 2:0181              FINTECH 31:5168    2
>>> from techminer2.packages.co_occurrence_matrix import DataFrame
>>> (
...     DataFrame()
...     #
...     # COLUMNS:
...     .with_field("author_keywords")
...     .having_terms_in_top(10)
...     .having_terms_ordered_by("OCC")
...     .having_term_occurrences_between(2, None)
...     .having_term_citations_between(None, None)
...     .having_terms_in(None)
...     #
...     # ROWS:
...     .with_other_field(None)
...     .having_other_terms_in_top(None)
...     .having_other_terms_ordered_by(None)
...     .having_other_term_occurrences_between(None, None)
...     .having_other_term_citations_between(None, None)
...     .having_other_terms_in(None)
...     #
...     # COUNTERS:
...     .using_term_counters(True)
...     #
...     # 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(10)
                        rows                    columns  OCC
0            FINTECH 31:5168            FINTECH 31:5168   31
1         INNOVATION 07:0911         INNOVATION 07:0911    7
2            FINTECH 31:5168         INNOVATION 07:0911    5
3         INNOVATION 07:0911            FINTECH 31:5168    5
4  FINANCIAL_SERVICE 04:0667  FINANCIAL_SERVICE 04:0667    4
5         BLOCKCHAIN 03:0369         BLOCKCHAIN 03:0369    3
6         BLOCKCHAIN 03:0369            FINTECH 31:5168    3
7     BUSINESS_MODEL 03:0896     BUSINESS_MODEL 03:0896    3
8     BUSINESS_MODEL 03:0896            FINTECH 31:5168    3
9       CROWDFUNDING 03:0335       CROWDFUNDING 03:0335    3