As per documentation https://www.spyder-ide.org/blog/spyder-variable-explorer/ you can view the dataframe by right clicking on it and selecting the "View with the Object Explorer" option.
Edit: I don't have Spyder 4.0 installed, you can check if this works for you.