Python Pandas: Selecting Columns – Single or Multiple

Channel Avatar
Comment
X
Share
Python Pandas: Selecting Columns - Single or Multiple
Python Pandas: Selecting Columns – Single or Multiple
In this video, I will be showing you best practices in selecting columns within pandas dataframes. This will allow you to experiment with heaps of code and examples.

#dataframe #python #pandas

In this Python Programming video, we will be learning how to get started with Pandas. Pandas is a data-wrangling library with a lot of functionality for handling our data in an easy-to-digest format. We will learn how to make simple series and dataframes.

I will also show you how to check the dataframe head, and info, and also how to select single or multiple columns of a dataframe.

The code from this video (with added logging) can be found at:
https://github.com/wvlt/code-snippets/blob/main/Python/Pandas/pandas_handling_columns_in_dataframes.ipynb

My gear:
– Apple Macbook Pro
– Dell U2720Q monitors
– Logitech Mc Master3 mouse
– Logitech G15 keyboard
– Blue Yeti microphone
– Neewer softbox, light and stand

My related videos:
– Pandas series and dataframes:
https://youtu.be/-N6WwY-zm1M
– Complete Pandas Data Science Tutorial – Reading CSV, Missing Values, Filtering, Groupby, Plotting: https://www.youtube.com/watch?vsw2ORpR6HtQ&t373s&ab_channelAmirCharkhi
– Data Science Salaries Explained – Average 150k: https://www.youtube.com/watch?vfkBRO…

_____________________________________________________________________ Amir Charkhi – Data science from scratch is planning to produce multiple series of carefully designed content to help you start as a junior data scientist or take your skills to the data scientist or senior level. This is a journey I have taken and would love to take a hand and make this exciting, but challenging journey a pleasant one. This is the link to Amir Charkhi – data science from scratch: https://www.youtube.com/channel/UCHSC… In my channel, I talk about Data Science and Machine Learning, Cloud Technology, and Storytelling. This channel is like no other as I have over 17 years of experience teaching and mentoring, not to say that teaching is my one and only passion. Also, I have a world of content coming about Amazon Web Services (AWS), Microsoft Azure, and Google Cloud Platform (GCP). The content will vary from the very basic Python, R, and Java programming as well as AWS Cloud Practitioner and Azure Fundamentals certificates all the way to TensorFlow, Deep Learning, and more senior certificates like Machine Learning Specialty and Solution Architect certificates. You can join here: https://www.youtube.com/channel/UCHSC… I post two videos every week and my content is growing in a tree model, with related content coming in to grow the tree from older branches and make it grow more lush and strong. For more content visit: https://www.youtube.com/channel/UCHSC… And here you can find me on LinkedIn: https://www.linkedin.com/in/amircharkhi/ ______________________________________________________________________________________
00:00 Introduction to Pandas
01:33 Make a Jupyter Notebook and Import Pandas
02:27 Make a dataframe from a dictionary
03:51 Import a dataframe from a URL (website)
05:20 Adding text to your Jupyter Notebook
05:54 Selecting a Single Column in a Pandas Dataframe
10:48 Selecting Multiple Columns from a Pandas Dataframe

Take the opportunity to connect and share this video with your friends and family if you find it useful.

Keywords: python, pandas, pythonpandas, pandasdataframes, pandasdataframe, pandasseries, datafarmeinfo, dataframedescribe, data science, data analysis, python pandas, keith galli, python 3, python programming, python 3 tutorial for beginners

Read Also

Leave a Reply

Your email address will not be published. Required fields are marked *