when i run Jupyter Lab gives me an error and modifies my code
I tried to run this part of code
file = pd.read_csv(‘./CIC-IDS-2017/file.csv’).sample(frac=1).reset_index(drop=True)
file2 = pd.read_csv(‘./CIC-IDS-2017/file2.csv’).sample(frac=1).reset_index(drop=True)
Jupyter lab gives me this error:
file2 = pd.read_csv(‘./CIC-IDS-2017/file2.csv’).sample(frac=1).reset_index(drop=True=True)
SyntaxError: invalid syntax
if i refresh the page ,the code results as in the error and even if i fix it it gives me similar errors and change the code again as in the error.
Anyone knows how to fix this problem?
user24854973 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.