Python Pandas – Combine 2 Columns of a DataFrame
[ad_1]
This Python Pandas tutorial shows how to combine or merge two columns of a DataFrame into one new column using string addition. This is especially useful for dates where you have separate columns for year and month or month and date.
Code: https://bit.ly/Pandas-nb
Twitter: https://twitter.com/joejamesusa
Subscribe: https://bit.ly/like-this-channel
RELATED VIDEOS
► Numpy Intro: https://youtu.be/8Mpc9ukltVA
► Numpy Intro Jupyter nb: https://youtu.be/AAS8yoKuK7M
► Pandas Intro: https://youtu.be/e60ItwlZTKM
► Pandas Import Data: https://youtu.be/x2Shyoif3ls
► Pandas Selecting & Filtering: https://youtu.be/DCE6t3vNfvM
► Pandas Time Series: https://youtu.be/QQy_zD-LE-4
► Pandas and MatPlotLib: https://youtu.be/ALX88JzeQnk
► Matplotlib Intro: https://youtu.be/MbKrSmoMads
#Python #Pandas
Source
[ad_2]
You could just turn them into a datetime object in this case. Would be easier.
I came from your quora post lol
Joe James, Thanks for your hard work on sharing the knowledge.
I'm new to coding which laptop should I buy ?