Terms by Cluster FrameΒΆ
Example
>>> from techminer2.packages.networks.co_citation.cited_authors import TermsByClusterDataFrame
>>> df = (
... TermsByClusterDataFrame()
... #
... # UNIT OF ANALYSIS:
... .having_terms_in_top(30)
... .having_citation_threshold(0)
... .having_terms_in(None)
... #
... # CLUSTERING:
... .using_clustering_algorithm_or_dict("louvain")
... #
... # 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()
>>> # Display the resulting data frame
>>> print(df)
0 1 2
0 Zavolokina L. 1:3 Gomber P. 1:7 Jagtiani J. 1:2
1 Gabor D. 1:2 Lee I. 1:2 Anagnostopoulos I. 1:1
2 Ryu H.-S. 1:2 Leong C. 1:2
3 Alt R. 1:1 Chen L./1 1:1
4 Gai K. 1:1 Gozman D. 1:1