Set-up
Via gspread I have access to a Google sheet containing data.
Normally, I use df = pd.DataFrame(wsheet.get_all_records())
to dump all data into a pandas dataframe.
Issue
I only need the data of 5 specific sequential columns, i.e. all columns including and between for example column 1 and 5 of the Google sheet.
Moreover, I only need the data starting from the 5th row in the Google sheet.
I've tried my regular df = pd.DataFrame(wsheet.get_all_records())
and then drop columns and rows in pandas. However, I think due to the markup I use in the first 4 rows in the Google sheet, the resulting dataframe has some oddities – adjusting in pandas gives strange results.
Question
Given the markup, I suspect it's easier to just dump all data incl. and between column 1 and 5 in a dataframe, starting from row 5.
But how do I do this?