Skip to content

Commit 3f44eb7

Browse files
committed
Add files
1 parent 1428fa2 commit 3f44eb7

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

30-days-pandas/big-countries.py

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import pandas as pd
2+
3+
def big_countries(world: pd.DataFrame) -> pd.DataFrame:
4+
df = world[(world["area"] >= 3000000) | (world["population"] >= 25000000)]
5+
return df[["name","population","area"]]

0 commit comments

Comments
 (0)