import networkx as nx import pandas as pd
class Assignment2:
df=pd.read_csv("rate.csv")
def makeGraph(df):
Graph=nx.from_pandas_edgelist(df