Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Apr 2, 2024
1 parent a808120 commit 91028cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion disdrodb/l0/readers/NETHERLANDS/DELFT.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def df_sanitizer_fun(df):
df_time = pd.to_datetime(df["time"], format="%Y%m%d-%H%M%S", errors="coerce")

# - Strip values from start and end of the string
df["TO_BE_PARSED"] = df["TO_BE_PARSED"].str.lstrip("b'").str.rstrip("'").str.rstrip("\\r\\n'") # noqa: B005
df["TO_BE_PARSED"] = df["TO_BE_PARSED"].str.lstrip("b'").str.rstrip("'").str.rstrip("\\r\\n'") # noqa: B005

# - Split the column 'TO_BE_PARSED'
df_to_parse = df["TO_BE_PARSED"].str.split(";", expand=True, n=99)
Expand Down

0 comments on commit 91028cd

Please sign in to comment.