I have a table with composed primary keys(3 columns) I'm new to python, I want to get rows where the compound primary key is 123, 'M', 17.
row_1 = df[
(df[pr_keys[0]] == (123, 'M', 17))].iloc[0]
I tried also
(123, 'M', 17) but got always syntax error.
Thank you in advance.