module 'networkx' has no attribute 'from_pandas_dataframe'

使用networkx.rom_pandas_dataframe()报错:
改正:使用
networkx.from_pandas_edgelist
原文地址:https://www.cnblogs.com/students/p/10821402.html