I have df like below with:-
import pandas as pd # initialize list of lists data = [[0, 2, 3],[0,2,2],[1,1,1]] # Create the pandas DataFrame df1 = pd