Skip to content

Commit

Permalink
file cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianM0 committed Nov 17, 2023
1 parent 52dd9af commit 8f3eff9
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions data/tabular/uniprot_sentences/transform.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,9 @@ def load_dataset() -> pd.DataFrame:
filename=f"{DATA}/data_clean.csv",
repo_type="dataset",
)
uniprot

uniprot = pd.read_csv(uniprot)
uniprot.sentences = uniprot.sentences.apply(clean_up_sentences)
# uniprot.rename(columns={"sequence": "other"}, inplace=True)
uniprot.to_csv("data_clean.csv", index=False)
print(f"Successfully loaded {DATA}!")
return uniprot
Expand Down

0 comments on commit 8f3eff9

Please sign in to comment.