Solution: Data Manipulation and Indexing
See the solutions to the problems related to data manipulation in pandas.
We'll cover the following
Problem 1: Solution
Given a Series marks
, create a Series from a numeric column of Series marks
that has the value of high
if it's equal to or above the mean
and low
if it's below the mean
mean using np.select
.
Get hands-on with 1400+ tech skills courses.