When I click "run python file in terminal", it gives me the following error:
>>> & C:/Users/HP/python/anaconda/python.exe "d:/python/vscode/python course/3. pandas/dataframes 231021.py"
File "<stdin>", line 1
& C:/Users/HP/python/anaconda/python.exe "d:/python/vscode/python course/3. pandas/dataframes 231021.py"
^
SyntaxError: invalid syntax
However, when I manually select the lines of code and press shift enter to run selected lines of code, it runs perfectly in vs code.