Python Merge Two Df Python Code Generator