Merging
Here is the command that I used to merge two files together, and have python show me all of my columns. To merge on another file to this, repeat the process using the newly created file as one of your files.
- #Connects two data framesConAtt14 = pd.merge(left=ConfidenceS14,right=AttitudesS14, left_on='First Name', right_on='First Name')merged_inner# what's the size of the output data?pd.set_option('display.max_columns', None)merged_inner.shapeConAtt14
Comments
Post a Comment