Home > other >  For help on the issue of the code execution efficiency, differences in jupyter and vscode?
For help on the issue of the code execution efficiency, differences in jupyter and vscode?

Time:10-01

The same code, after testing in jupyter takes 3.48 seconds, in vscode takes 6.22 seconds, the HTML code is as follows, I wonder why to appear so much performance difference, is my vscode configuration is there a problem?

The import pandas as pd
The import time

Time_start=time. Time () #
remember a timeFpath=r 'D: \ \ document editing and test documents, files, tables. XLSX'

IO=pd. IO. Excel. ExcelFile (fpath)
Data=https://bbs.csdn.net/topics/pd.read_excel (IO, sheet_name='strength')
Data2=pd. Read_excel (IO, sheet_name='independent')
IO. Close ()

Time_end=time. Time ()
Print (' the program a total run time, time_end - time_start)
  • Related