Skip to content

Commit

Permalink
Minor changes
Browse files Browse the repository at this point in the history
* Bug fixes
* Update `requirements.txt`
  • Loading branch information
jzsmoreno committed Sep 25, 2023
1 parent 251f788 commit 592b0bf
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions pydbsmgr/utils/tools.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import glob
import os
import re
from typing import List

import numpy as np
Expand All @@ -25,6 +26,8 @@ def columns_check(df: DataFrame) -> DataFrame:
res = any(chr.isdigit() for chr in col)
if res:
col = "[" + col + "]"
else:
col = re.sub("[^a-zA-Z0-9]", "_", col)
new_cols.append(col)

df.columns = new_cols
Expand Down
3 changes: 2 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ python-dotenv==1.0.0
openpyxl==3.1.2
pyarrow
fastparquet
loguru
loguru
psutil
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name="pydbsmgr",
version="0.4.2",
version="0.4.3",
author="J. A. Moreno-Guerra",
author_email="[email protected]",
description="Testing installation of Package",
Expand Down

0 comments on commit 592b0bf

Please sign in to comment.