Last answered:

24 Nov 2023

Posted on:

18 Nov 2023

0

Can you tell us the code to merge the local dataset into one dataframe?

I need all the datasets(lets say 3) in csv format to come into 1 data frame. How would I do that?


1 answers ( 0 marked as helpful)
Instructor
Posted on:

24 Nov 2023

0

Hi Himanshu!


Thanks for reaching out.


Depending on the situation, there are various ways to combine data in Python. You might want to group columns, import only several columns, merge data, or concatenate columns. Here are links to a couple of lectures (and, of course, we advise you to complete the entire course for complete understanding of the topic) that provide a relevant example, I think:

https://learn.365datascience.com/courses/sql-tableau-python/grouping-the-various-reasons-for-absence/

https://learn.365datascience.com/courses/sql-tableau-python/concatenating-column-values/


Hope this helps.
Best,
Martin

Submit an answer