1
$\begingroup$

Complete self taught novice here.

Question

Are there any popular standards, or commonly used formats for representing/saving/sharing/serializing a network?

Background

I built a simple but very large (5.5m nodes, 16.7m edges) network matrix using my own python code. But if I wanted to use this matrix with other data science tools what format should I use?

Currently I have it in a giant csv file with headers and "1" representing edges. Which I think is called a binary matrix.

Goal

I want to make use of any benefits present in using binary files, or formatted flat files that would help me learn other tools.

$\endgroup$
2
  • $\begingroup$ No. There is no single universally popular input/output standard for networks. $\endgroup$
    – Valentas
    Dec 9 '17 at 10:18
  • $\begingroup$ I'm trying to figure out if this could be one: tinkerpop.apache.org $\endgroup$ Dec 9 '17 at 16:59
2
$\begingroup$

There is no single universally accept standard, however, many packages use edgelist for sparse (un)directed (un)weighted graphs. Regarding storing and sharing, I usually see compressed text files (in ascii format) instead of binary ones, due to binary compatibility problems.

Maybe you should take a look at this draft: Unravelling Graph-Exchange File Formats.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.