Did you find a solution? I encountered the same problem on my first Python project via Posit and it was a huge disappointment.
import pandas as pd
import numpy as np
pd.set_option('display.max_columns', None)
pd.set_option('display.width', 500)
kods={"QM":"Ücret"} #<-- error is here