Skip to content

Commit 8dee26a

Browse files
EliEli
authored andcommitted
Eliminate import that hardwires timedelta. Removed debug print statements.
1 parent 05d9daf commit 8dee26a

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

dms_datastore/read_multi.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -327,9 +327,6 @@ def ts_multifile(
327327
if filter_date(metafname, start, end):
328328
continue
329329
ts = read_ts(tsfile, force_regular=force_regular)
330-
print("tsfiles")
331-
print(tsfile)
332-
print("columns:",ts.columns)
333330
dup_mask = ts.index.duplicated(keep=False)
334331
if dup_mask.any():
335332
dup_index = ts.index[dup_mask]
@@ -393,7 +390,6 @@ def ts_multifile(
393390
cfrq = f
394391
elif f < cfrq:
395392
cfrq = f
396-
for ts in bigts: print(ts.columns)
397393
fullout = ts_splice(bigts, transition="prefer_first")
398394
if cfrq is not None:
399395
fullout = fullout.asfreq(cfrq)

dms_datastore/read_ts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
import os
1212
import fnmatch
1313
from vtools.functions.merge import *
14-
from vtools.data.vtime import days, minutes, hours, months, seconds, years, to_timedelta
14+
from vtools.data.vtime import days, minutes, hours, months, seconds, years
1515
from dms_datastore.filename import extract_year_fname
1616

1717
__all__ = [

0 commit comments

Comments
 (0)