Skip to content

Commit 9d29dee

Browse files
authored
Update the solution
1 parent 0bdcf5d commit 9d29dee

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

30-days-pandas/0595-big-countries.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,5 +55,4 @@
5555
import pandas as pd
5656

5757
def big_countries(world: pd.DataFrame) -> pd.DataFrame:
58-
df = world[(world["area"] >= 3000000) | (world["population"] >= 25000000)]
59-
return df[["name","population","area"]]
58+
return world[(world['area'] >= 3000000) | (world['population'] >= 25000000)][['name', 'population', 'area']]

0 commit comments

Comments
 (0)