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 07fee0a commit 414e9bb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions mdtools/labelstudio.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,10 @@ def get_name(df):
# ls = json.loads(data)

print(df.head())
column_name = "source_file"
source_file_ex = df.at[df[column_name].first_valid_index(), column_name]
column_name = "source_file_with_dep"
first_valid = df[column_name].first_valid_index()
print(first_valid)
source_file_ex = df.at[first_valid, column_name]
print(source_file_ex)
proj = source_file_ex.split("/")[0]
print(proj)
Expand Down

0 comments on commit 414e9bb

Please sign in to comment.