Slicing Data from a Pandas DataFrame using .loc and .iloc
Introduction Something usual in data science is to work with data stored in a pandas dataframe. Often there is a need to extract specific parts of the dataframe, like columns, rows, or both. The reasons for this could be many, the dataframe is large, and only certain parts are of interest. This post will present … Read more