Python / Pandas – GUI for viewing a DataFrame or Matrix

There are 2 different ways how these widgets can access their data. The traditional way involves widgets which include internal containers for storing data. This approach is very intuitive, however, in many non-trivial applications, it leads to data synchronization issues. The second approach is model/view programming, in which widgets do not maintain internal data containers

Impute categorical missing values in scikit-learn

I’ve got pandas data with some columns of text type. There are some NaN values along with these text columns. What I’m trying to do is to impute those NaN’s by sklearn.preprocessing.Imputer (replacing NaN by the most frequent value). The problem is in implementation.
Suppose there is a Pandas dataframe df with 30 columns, 10 of which are of categorical nature.
Once I run: