How to merge two CSV file by a specific column using python?

1. What is the problem? Be very detailed.
Hey all, when we are working in group tye question and then I am abe to manage data in one csv wit hthe help of STATA, however I want same thing with the help of python? Is there any one have code where I can merge both csv and make one csv.

2. What app or server are you using and on what device and operating system? Include version numbers.
I am working in STATA for manage Data.

3. What you have you tried to fix the problem?
Did not get solution.

4. What steps can we take to reproduce the problem?
I am able to do this in Stata, However I am unable to solve this in Python.

5. Anything else we should know or have? If you have a test form or screenshots or logs, attach below.

Best,
@iamnarendrasingh

I think questions that are not ODK specific should probably go to https://stackoverflow.com or a Python forum. But to answer said question, I usually use the pandas library for this sort of thing.