Skip to content

Instantly share code, notes, and snippets.

@karanjagota karanjagota/ Secret
Created Jul 6, 2019

What would you like to do?
gist for medium blogs
import pandas as pd
# loading data
data_1 = {'gold':['day1','day2','day3','day4','day5'],
data_2 = {'gold':['day1','day2','day3','day4','day5'],
# Data Frames
df1 = pd.DataFrame(data_1)
df2 = pd.DataFrame(data_2)
# Merging DataFrames
merge_df = pd.merge(df1, df2, on='gold')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.