'Spyder: Spyder was unable to retrieve the value of this variable from the console, An error occured see the console error

I had converted azureml dataset into python dataframe but spyder is unable to show me the dataframe. Kindly help

enter image description here



Solution 1:[1]

I also was facing the same error. I found the answer in these posts: https://github.com/spyder-ide/spyder/issues/15998 and https://github.com/spyder-ide/spyder/issues/15998.

You need to downgrade pandas to version 1.3.5: conda install pandas==1.3.5

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Noris Junior