import networkx as nx import pandas as pd import numpy as np import matplotlib.pyplot as plt data = pd.read_csv("数据.csv", header=0) # 读取数据 data.head(50) for indexs in data.index: print(data.loc[indexs].values[0:-1])
import networkx as nx import pandas as pd import numpy as np import matplotlib.pyplot as plt data = pd.read_csv("数据.csv", header=0) # 读取数据 data.head(50) for indexs in data.index: print(data.loc[indexs].values[0:-1])