Skip to content

Commit

Permalink
make use of read_csv options
Browse files Browse the repository at this point in the history
  • Loading branch information
semio committed Jul 8, 2020
1 parent 83b18e5 commit 2c29497
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ddf_utils/model/ddf.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ class DaskDataPoint(DataPoint):
@property
def data(self):
cols = [*self.dimensions, self.id]
df = dd.read_csv(self.path, **self.read_csv_options)[cols]
df = dd.read_csv(self.path, usecols=cols, **self.read_csv_options)
# handling time columns
for k, v in self.concept_types.items():
if v == 'time':
Expand Down

0 comments on commit 2c29497

Please sign in to comment.