Skip to content

Commit

Permalink
fix: keep case for rev paths and unpinning pandas
Browse files Browse the repository at this point in the history
  • Loading branch information
pesap committed Jan 30, 2025
1 parent 3b187a5 commit 4a1751c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ classifiers = [
dependencies = [
"jsonschema~=4.23",
"loguru~=0.7.2",
"pandas~=2.2",
"pandas>=2.2",
"plexosdb~=0.0.6",
"polars~=1.1.0",
"pyyaml~=6.0.1",
Expand Down
3 changes: 2 additions & 1 deletion src/r2x/parser/handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,8 @@ def csv_handler(fpath: Path, csv_file_encoding="utf8", **kwargs) -> pl.DataFrame
logger.debug("File {} is empty. Skipping it.", fpath)
return

data_file = pl_lowercase(data_file)
if not kwargs.get("keep_case"):
data_file = pl_lowercase(data_file)

return data_file

Expand Down

0 comments on commit 4a1751c

Please sign in to comment.