We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e202e2 commit 8ad1db0Copy full SHA for 8ad1db0
aperturedb/CSVParser.py
@@ -80,7 +80,7 @@ def __init__(self,
80
# most users don't supply their own df, so this is mostly a sanity check
81
# for when an advanced user has done filtering and have a IntervalIndex.
82
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.")
+ raise Exception(f"CSVParser requires a RangeIndex. the supplied DataFrame has a {type(self.df.index)} index.")
84
# len for dask dataframe needs a client.
85
if not self.use_dask and len(self.df) == 0:
86
logger.error("Dataframe empty. Is the CSV file ok?")
0 commit comments