Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
davedavemckay committed Jul 25, 2024
1 parent 1c36438 commit e76cc4a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions csd3-side/scripts/gen_exclude_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@

print(df.head())
print(df.tail())
for row in df['LOCAL_FOLDER'].iterrows():
if type(row[1]) != str:
print(row[1])
print(type(row[1]))
for row in df.iterrows():
if type(row[1]['LOCAL_FOLDER']) != str:
print(row[1]['LOCAL_FOLDER'])
print(type(row[1]['LOCAL_FOLDER']))
raise ValueError('Non-string LOCAL_FOLDER')
df = df.groupby('LOCAL_FOLDER').agg(','.join).reset_index().dropna()
print(df['LOCAL_FOLDER'].head())
Expand Down

0 comments on commit e76cc4a

Please sign in to comment.