Challenge: Extracting Experimental Groups
Завдання
Swipe to start coding
Write a function to filter and sort the DataFrame as described, using pandas methods for filtering and sorting.
- Filter the input DataFrame to include only rows where the
groupcolumn is equal to"control". - Further filter these rows to include only those where the
measurementvalue is greater than the mean of allmeasurementvalues in the DataFrame. - Return a new DataFrame containing the filtered rows, sorted by
measurementin descending order.
Рішення
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 1. Розділ 3
single
Запитати АІ
Запитати АІ
Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат
Чудово!
Completion показник покращився до 5
Challenge: Extracting Experimental Groups
Свайпніть щоб показати меню
Завдання
Swipe to start coding
Write a function to filter and sort the DataFrame as described, using pandas methods for filtering and sorting.
- Filter the input DataFrame to include only rows where the
groupcolumn is equal to"control". - Further filter these rows to include only those where the
measurementvalue is greater than the mean of allmeasurementvalues in the DataFrame. - Return a new DataFrame containing the filtered rows, sorted by
measurementin descending order.
Рішення
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 1. Розділ 3
single