Skip to content

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
femtotrader authored Aug 15, 2023
1 parent 21c64de commit fc7998a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions parquet_store/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def _path(self):
def symbols(self):
symbols = (self.root_path / self.key).glob(f"*{EXTENSION}")
symbols = [symbol.stem for symbol in symbols]
return pd.Series(symbols)
return pd.Series(symbols, dtype="str")

def _symbol_path(self, symbol):
return self._path / f"{symbol}{EXTENSION}"
Expand Down Expand Up @@ -59,7 +59,7 @@ def libraries(self):
lib = root.parts[n_root:]
lib = ".".join(lib)
libs.add(lib)
return pd.Series(list(libs))
return pd.Series(list(libs), dtype="str")

def create_library(self, lib):
lib = lib.replace(".", "/")
Expand Down

0 comments on commit fc7998a

Please sign in to comment.