I have this list:
import pandas as pd
l = [[1,2,3],[4,5,6],[7,8,9]]
New_dataframe = pd.DataFrame(l)
print(New_dataframe)
Output:
0 1 2
0 1 2 3
1 4 5 6
2 7 8 9
I want to remove those indexed rows and columns. How to achieve that??DataFrame I would like to see is this:
1 2 3
4 5 6
7 8 9
How to remove that index column and rows??
New_dataframe.values