AlloViz.AlloViz.Filtering.Filtering._get_G¶
- Filtering._get_G(column, colname)[source]¶
Return a DataFrame’s column as a Graph
Transform a column from a
pandas.DataFrame(passed as apandas.Series) into a NetworkX’Graph; retaining only the largest component if the passed information results in an unconnected network.- Parameters:
- column
pandas.Series - colnamestring
- column