```
importera pandor som pd
df =pd.DataFrame({'A':['A1', 'A2', 'A3'],
'B':['B1', 'B2', 'B3'],
'C':['C1', 'C2', 'C3']})
Hämta aktuell cell
current_cell =df.loc[0, 'A']
print('Current cell:', current_cell)
Markera aktuell cell och kolumn
df.style.apply(lambda x:['background-color:#FFFF00' if x.name ==current_cell or x.iloc[0] ==current_cell else '' for x in df], axis=None)
```