I have install pandas , but when i import pandas and run any code in my vs code comes with this error
"AttributeError: partially initialized module 'pandas' has no attribute 'DataFrame' (most likely due to a circular import)".
help me to solve this.
I have tried many times with correct code and source. its should run the program correctly, but it shows error...
import pandas
mydataset = {
'cars': ["BMW", "Volvo", "Ford"],
'passings': [3, 7, 2]
}
myvar = pandas.DataFrame(mydataset)
print(myvar)