Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
VLucet committed Jan 12, 2024
1 parent 3682ec5 commit cce2576
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mdtools/labelstudio.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,8 @@ def get_name(df):

print(df.head())
column_name = "source_file_with_dep"
first_valid = df[column_name].first_valid_index()
col = df[column_name].tolist()
first_valid = next(x for x in col if not isnan(x))
print("&&&&&&&")
print(first_valid)
print("&&&&&&&")
Expand Down

0 comments on commit cce2576

Please sign in to comment.