Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Felix] lab-pandas-merge #22

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

imfap1
Copy link

@imfap1 imfap1 commented Oct 19, 2023

image
Asi me siento!!!!!!!!!!!!!!!!!!!!!!

@bripollc
Copy link

Felix,

Lab impecable. Pandas lo tienes controlado:)
A por la semana 3!!!!! 🚀

  • BONUS
left_df = pd.concat([df1,df2])
right_df = pd.concat([df3,df4])
left_df.reset_index(inplace=True)
right_df.reset_index(inplace=True)
final_df = left_df.merge(right_df, how="inner")
final_df.set_index('index', inplace=True)

Te dejo una opción para resolver el bonus:)

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants