def __init__(self, path, mode=None, complevel=None, complib=None,
                 fletcher32=False, **kwargs):
        try:
            import tables  # noqa
        except __HOLE__ as ex:  # pragma: no cover
            raise ImportError('HDFStore requires PyTables, "{ex}" problem '
                              'importing'.format(ex=str(ex)))

        if complib not in (None, 'blosc', 'bzip2', 'lzo', 'zlib'):
            raise ValueError("complib only supports 'blosc', 'bzip2', lzo' "
                             "or 'zlib' compression.")

        self._path = path
        if mode is None:
            mode = 'a'
        self._mode = mode
        self._handle = None
        self._complevel = complevel
        self._complib = complib
        self._fletcher32 = fletcher32
        self._filters = None
        self.open(mode=mode, **kwargs)
dataset/ETHPy150Open pydata/pandas/pandas/io/pytables.py/HDFStore.__init__