Search code examples
pythonpython-3.xpandasspyder

Background color and Column min/max options in Spyder's DataFrame viewer are disabled


After pd.get_dummies I join newly created dataframe d_wm to my main df. But now I can't enable the option background colors when I want to see my main df in the variable explorer. This option and column min/max aren't available. Any solutions?

Example:

d_wm = pd.get_dummies(df["wmg"], prefix = 'wm_gr')

df = df.join(d_wm)

enter image description here


Solution

  • (Spyder maintainer here) Those options are disabled if the contents of your Dataframe are too large (too many rows, columns or data) to avoid lags when you're browsing it.