Тёмный

Python Pandas Explode Columns Tutorial 

Ryan & Matt Data Science
Подписаться 14 тыс.
Просмотров 2,2 тыс.
50% 1

Today we are taking a look at how you can apply the explode function to a column within a Python Pandas Dataframe
Dataframe Code:
df = pd.DataFrame({ 'card': ['1971 Nolan Ryan', '1928 Ogden Don Bradman', '1909 T206 Ty Cobb', '1887 Lone Jack Ben Franklin', '2005 Topps Justin Verlander'],
'properties': [['Baseball', 'Vintage', 'Pitcher'], ['Cricket', 'Pre War'], ['Baseball', 'Pre War', 'Batter'], ['Non Sports', 'Pre War'], ['Baseball', 'Modern', 'Pitcher']]
})
Interested in discussing a Data or AI project? Feel free to reach out via email or simply complete the contact form on my website.
📧 Email: ryannolandata@gmail.com
🌐 Website & Blog: ryannolandata....
🍿 WATCH NEXT
Python for Data Analyst and Scientists Playlist: • Python Tutorials For D...
Python Pandas Query: • Pandas Query Filter Fu...
Python Data Cleaning: • Real World Data Cleani...
Python Split Columns: • How to Split up Column...
MY OTHER SOCIALS:
👨‍💻 LinkedIn: / ryan-p-nolan
🐦 Twitter: / ryannolan_
⚙️ GitHub: github.com/Rya...
🖥️ Discord: / discord
📚 *Data and AI Courses: datacamp.pxf.i...
📚 *Practice SQL & Python Interview Questions: stratascratch....
WHO AM I?
As a full-time data analyst/scientist at a fintech company specializing in combating fraud within underwriting and risk, I've transitioned from my background in Electrical Engineering to pursue my true passion: data. In this dynamic field, I've discovered a profound interest in leveraging data analytics to address complex challenges in the financial sector.
This RU-vid channel serves as both a platform for sharing knowledge and a personal journey of continuous learning. With a commitment to growth, I aim to expand my skill set by publishing 2 to 3 new videos each week, delving into various aspects of data analytics/science and Artificial Intelligence. Join me on this exciting journey as we explore the endless possibilities of data together.
*This is an affiliate program. I may receive a small portion of the final sale at no extra cost to you.

Опубликовано:

 

15 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 11   
@RyanAndMattDataScience
@RyanAndMattDataScience 2 месяца назад
Hey guys I hope you enjoyed the video! If you did please subscribe to the channel! Join our Data Science Discord Here: discord.com/invite/F7dxbvHUhg If you want to watch a full course on Python Pandas check out Datacamp: datacamp.pxf.io/XYD7Qg Want to solve Python data interview questions: stratascratch.com/?via=ryan I'm also open to freelance data projects. Hit me up at ryannolandata@gmail.com *Both Datacamp and Stratascratch are affiliate links.
@Al-Ahdal
@Al-Ahdal 5 месяцев назад
@Ryan Nolan: Great video. I have a question, whether we should use 'loc' or 'query' method to filter out the data, which is better and why? I was using 'loc' method because it gives me flexibility to have columns of my choice. Please advise. Thank you.
@bubblebath2892
@bubblebath2892 5 месяцев назад
Awesome explanation ...just 1 suggestion - instead of df.head() use df.sample(10) to get random rows ...gives a better idea about the dataset
@RyanAndMattDataScience
@RyanAndMattDataScience 5 месяцев назад
Great idea
@paulfan7377
@paulfan7377 11 месяцев назад
nicely demonstrated
@RyanAndMattDataScience
@RyanAndMattDataScience 11 месяцев назад
Thank you!
@hjiraoussama776
@hjiraoussama776 7 месяцев назад
How about if u have two columns u want to explode simultaneously ?
@juanbertone1941
@juanbertone1941 Год назад
Nice, you just gained a new suscriber
@RyanAndMattDataScience
@RyanAndMattDataScience Год назад
I really appreciate you checking out the video. Hope you enjoy the other content on the channel
@onurdatascience
@onurdatascience Год назад
Nice Tutorial!
@RyanAndMattDataScience
@RyanAndMattDataScience Год назад
Thank you!
Далее
The Complete Guide to Python Pandas Groupby
44:17
Просмотров 10 тыс.
Merging DataFrames in Pandas | Python Pandas Tutorials
22:09
When Khabib dropped Conor McGregor 👀 #nocommentary
00:59
Python Pandas Lambda Function Tutorial With EXAMPLES
12:58
Learning Pandas for Data Analysis? Start Here.
22:50
Просмотров 105 тыс.
How To Use apply() In Pandas (Python)
8:54
Просмотров 33 тыс.
How do I use the MultiIndex in pandas?
25:01
Просмотров 175 тыс.
When should I use a "groupby" in pandas?
8:25
Просмотров 245 тыс.
Exploratory Data Analysis with Pandas Python
40:22
Просмотров 483 тыс.
Pandas Functions: Three Ways to Use the Apply Function
12:11