In this video, we will master the basics of slicing pandas dataframe. Key timestamps in this video are:
00:00 - setting pandas data frame with multiple lists using list zip method
00:55 - quick column and rows extraction
03:00 - features of pandas data frame import from slicing prespective
04:45 - How to set a column as row index using set_index method
06:45 - How to use pandas.iloc function
10:30 - How to return rows in pandas data frame based on column values
The slicing will be done by:
1- Column names
2- Column index no
3- Row name
4- Row index no
5- Row and column index numbers
6- Conditions based on column values
We will work through the pandas loc and pandas iloc functions and as noted above conditions.
#slicepandasdataframe #pandasconditionalslice