Node Degree FrameΒΆ

Example

>>> from techminer2.packages.networks.co_occurrence.descriptors import NodeDegreeDataFrame
>>> df =(
...     NodeDegreeDataFrame()
...     #
...     # FIELD:
...     .having_terms_in_top(20)
...     .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)
...     #
...     # NETWORK:
...     .using_association_index("association")
...     #
...     # DATABASE:
...     .where_root_directory_is("examples/fintech/")
...     .where_database_is("main")
...     .where_record_years_range_is(None, None)
...     .where_record_citations_range_is(None, None)
...     .where_records_match(None)
...     #
...     .run()
... )
>>> df.head() 
   Node                     Name  Degree
0     0          FINTECH 38:6131      19
1     1       REGULATORS 08:0974      18
2     2  THE_DEVELOPMENT 09:1293      16
3     3     PRACTITIONER 06:1194      16
4     4     TECHNOLOGIES 15:1633      15