Say if I have a .csv file that looks like this:
0,0
1,1
2,2
3,3
4,4
5,5,5,5
6,6,6,6
7,7,7,7
How could I create a dataframe from row 5, without it depending on the row number? Obviously I know you can make the header=5
but I would like it to do something more like header=#when it reaches 4 columns#
, whatever that row may be.
I realise that this question was not quite as specific as I needed so I have reiterated it here: Creating a dataframe from different rows