g2801_2900.s2880_select_data.solution.py Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of leetcode-in-kotlin Show documentation
Show all versions of leetcode-in-kotlin Show documentation
Kotlin-based LeetCode algorithm problem solutions, regularly updated
# #Easy #2023_12_23_Time_428_ms_(94.99%)_Space_60_MB_(83.82%)
import pandas as pd
def selectData(students: pd.DataFrame) -> pd.DataFrame:
return students[students.student_id == 101][['name','age']]