Issue
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)
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.
Answered By - Carlos Cordoba
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.