Here is a simple method to solve the error: module ‘networkx’ has no attribute ‘from_pandas_dataframe’
Use networkx.rom_pandas_dataframe()
to report an error:
Correction: use networkx.from_pandas_edgelist
module ‘networkx’ has no attribute ‘from_pandas_dataframe’
Leave a reply