I have this kind of dataframe, I want to split it into two dataframe if the "FT" column is empty
df
HomeTeam AwayTeam FT
0 Colo Colo U. De Concepcion
1 Cobresal U. Espanola
2 Deportes S. Wanderers
3 La Serena A. Italiano A
4 O'Higgins Colo Colo D
5 Palestino Coquimbo D
Tried this code but df still the same
if "" in df['FT']:
df1 = df[df['FT'] == '']
df = df[df['FT'].notna("")]