O'Reilly logo

Complex Network Analysis in Python by Dmitry Zinoviev

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Master “toposort”

This section uses Pandas, community, toposort.

Directed network analysis has an unexpected connection to creative writing and computer game development.

Game developers and creative writers are often in need of a collection of adjectives that characterize a particular property and range from “very bad” to “very good.” Directed network analysis (via the module toposort) makes it possible to design such a scale in any natural language.

Obtain and Extract Survey Data

You can start this mini case study by defining a list of candidate adjectives; in our case, the list consists of thirty-four words: “alpha plus,” “average,” “bad,” “crappy,” “disgusting,” “excellent,” “exciting,” “f*cking good,” “fantastic,” “filthy,” “first-class,” ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required