Skip to content

Commit 8ad1db0

Browse files
committed
fix comment
1 parent 9e202e2 commit 8ad1db0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

aperturedb/CSVParser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def __init__(self,
8080
# most users don't supply their own df, so this is mostly a sanity check
8181
# for when an advanced user has done filtering and have a IntervalIndex.
8282
if not isinstance(self.df.index,pd.RangeIndex):
83-
raise Exception(f"CSVParser requires a RangeIndex. the supplied DataFrame has a type(self.df.index) index.")
83+
raise Exception(f"CSVParser requires a RangeIndex. the supplied DataFrame has a {type(self.df.index)} index.")
8484
# len for dask dataframe needs a client.
8585
if not self.use_dask and len(self.df) == 0:
8686
logger.error("Dataframe empty. Is the CSV file ok?")

0 commit comments

Comments
 (0)