The edge attributes show a strange behaviour.
If there are no edge attributes, edge.attributes contains an attribute nodes for all edges with value True. If other attributes exist, this attribute does not exist. This causes various problems for the exporting of networks to pandas dataframes (which either contain a spurious attribute or require complex code to remove the attribute only in those cases where no user-assigned attribute with the same name exists).
The edge attributes show a strange behaviour.
If there are no edge attributes, edge.attributes contains an attribute
nodesfor all edges with valueTrue. If other attributes exist, this attribute does not exist. This causes various problems for the exporting of networks to pandas dataframes (which either contain a spurious attribute or require complex code to remove the attribute only in those cases where no user-assigned attribute with the same name exists).