mke 3 colums to dictionry with pandas code example Example: pandas to dictionary df.to_dict('records')