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 frames

    ConAtt14 = 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.shape
    ConAtt14

Comments

Popular posts from this blog

6/14/17 Notes

6/06/17 Notes (formatting code and searching for a specific person)

May 22, 2017 -- SienaSemanticsSurvey -- Code Breakdown -- Cell #8