I am trying to manipulate a Pandas DataFrame. See the Pandas DataFrame below:

I am trying to shift from column 6 by a period of 1 if column 6 is missing.
Here is the idea:
tarrif_6_missing = df2[6].isnull()
df2[tarrif_6_missing] = df2[tarrif_6_missing].shift(1,axis=1)
The above is incorrect because it shifts the whole cells from the start of the columns. Instead if column 6 is missing. I would like to shift the columns by a period of 1 from the column 6 not from the start of the column.
EDIT: Thanks for the edits, but I am getting through, getting an error:
tarrif_6_missing = df2.loc[:,6].isnull()
df2.loc[:,tarrif_6_missing:] = df.loc[:,tarrif_6_missing:].shift(1, axis=1)
I get an error: TypeError: '0 False
And it does not go through
loc[tarrif_6_missing, column_6_name:] = ...