Skip to content

Commit

Permalink
backwards compat with Dask
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Durant committed Jan 17, 2018
1 parent 22ec39e commit b565f8b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fastparquet/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ class ParquetFile(object):
Max/min/count of each column chunk
"""
def __init__(self, fn, verify=False, open_with=default_open,
root=False):
root=False, sep=None):
if isinstance(fn, (tuple, list)):
basepath, fmd = metadata_from_many(fn, verify_schema=verify,
open_with=open_with, root=root)
Expand All @@ -99,6 +99,7 @@ def __init__(self, fn, verify=False, open_with=default_open,
with open_with(fn, 'rb') as f:
self._parse_header(f, verify)
self.open = open_with
self.sep = sep

def _parse_header(self, f, verify=True):
try:
Expand Down

0 comments on commit b565f8b

Please sign in to comment.