public static Frame <TRowKey, TColumnKey> Where <TRowKey, TColumnKey>(this Frame <TRowKey, TColumnKey> frame, Func <KeyValuePair <TRowKey, ObjectSeries <TColumnKey> >, int, bool> condition) { Series <TRowKey, ObjectSeries <TColumnKey> > nested = frame.Rows.Where(condition); return(FrameUtils.fromRowsAndColumnKeys <TRowKey, TColumnKey, ObjectSeries <TColumnKey> >(frame.IndexBuilder, frame.VectorBuilder, frame.ColumnIndex.Keys, nested)); }