Simple 2 line Python code is :
import pandas as pd
pd.read_excel('sample.xlsx')
The above code runs fine when I go to the location of this folder & run from cmd but the same directory has the IDLE. When I use IDLE to run the same code it throws FileNotFoundError
Can anyone suggest where I am making mistake.