Skip to content

2880. Select Data 👍

1
2
3
4
5
import pandas as pd


def selectData(students: pd.DataFrame) -> pd.DataFrame:
  return students.loc[students['student_id'] == 101, ['name', 'age']]