Skip to content

Commit d2a4349

Browse files
pylint flake8 fixes
1 parent 1c0d20b commit d2a4349

2 files changed

Lines changed: 1 addition & 10 deletions

File tree

dea_conflux/stack.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ def remove_timeseries_with_duplicated(df: pd.DataFrame) -> pd.DataFrame:
194194
# The pc_missing the less the better, so we only keep the first one
195195
df = df.drop_duplicates("DAY", keep="first")
196196

197-
# Remove entries within 60s of the next one, this takes care of the edge case where duplicates wrap across midnight UTC
197+
# Remove entries within 60s, this takes care of the edge case where duplicates wrap across midnight UTC
198198
df['TIMEDIFF'] = pd.to_datetime(df['date'].shift(-1)) - pd.to_datetime(df['date'])
199199
df = df[~(df['TIMEDIFF'] < timedelta(seconds=60))]
200200
df = df.drop(columns=["TIMEDIFF"])

tests/test_csv.py

Lines changed: 0 additions & 9 deletions
This file was deleted.

0 commit comments

Comments
 (0)