Skip to content

Commit

Permalink
Change latin1 to utf8 in azure_sdk.py methods
Browse files Browse the repository at this point in the history
  • Loading branch information
BubuDavid authored Dec 13, 2023
1 parent 6f09224 commit aef2d47
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pydbsmgr/utils/azure_sdk.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def upload_parquet(
raise ValueError(f"{format_type} not supported")

def get_excel_csv(
self, directory_name: str, regex: str, manual_mode: bool = False, encoding: str = "latin1"
self, directory_name: str, regex: str, manual_mode: bool = False, encoding: str = "utf-8"
) -> Tuple[List[DataFrame], List[str]]:
"""Perform reading of `.xlsx` and `.csv` files in container-directory"""
dataframes = list()
Expand Down Expand Up @@ -155,7 +155,7 @@ def upload_excel_csv(
dfs: List[DataFrame],
blob_names: List[str],
format_type: str = "csv",
encoding: str = "latin1",
encoding: str = "utf-8",
overwrite: bool = True,
) -> None:
"""Perform upload of `.xlsx` and `.csv` files in container-directory"""
Expand Down

0 comments on commit aef2d47

Please sign in to comment.