select column with loc pandas code example
Example 1: pandas iloc select certain columns
dataframe.iloc[:,[1,2]]
Example 2: isolate row based on index pandas
dfObj.iloc[: , [0, 2]]
dataframe.iloc[:,[1,2]]
dfObj.iloc[: , [0, 2]]