Run algorithm
Each step highlights the matching Python line. Program output appears only when a line that prints actually runs.
Ready
| name | score | mask |
|---|---|---|
| A | 90 | ? |
| B | 80 | ? |
| C | 88 | ? |
1import pandas as pd
2df = pd.DataFrame({"name": ["A","B","C"], "score": [90,80,88]})
3print(df[df["score"] >= 85])
Output: