Skip to content

Latest commit

 

History

History
17 lines (16 loc) · 417 Bytes

README.md

File metadata and controls

17 lines (16 loc) · 417 Bytes

attribute_assortativity

Calculates attribute assortativity for a graph

usage:

python3 attribute_assortativity.py -n <node_attribute.csv> -e <edge_list.csv> <attr1> [<attr2>, ..., <attrN>] > <out.csv>

dependency:

The tool uses the following libraries:

  1. argparse (https://pypi.org/project/argparse/)
pip3 install argparse
  1. networkx (https://networkx.github.io/)
pip3 install networkx