python pandas to remove row based non index column code example Example: isolate row based on index pandas dfObj.iloc[: , [0, 2]]