Skip to content

Commit

Permalink
Rename data files.
Browse files Browse the repository at this point in the history
  • Loading branch information
argythana committed Jun 8, 2024
1 parent 40d0f8c commit 703908a
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
File renamed without changes.
File renamed without changes.
6 changes: 3 additions & 3 deletions src/data/save_data_to_filetypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
dir_path = os.path.dirname(os.path.realpath(__file__))

# Construct the paths to the data files
csv_file_path = os.path.join(dir_path, "..", "data", "obfuscated_data.csv")
feather_file_path = os.path.join(dir_path, "..", "data", "obfuscated_data.feather")
csv_file_path = os.path.join(dir_path, "..", "data", "acts_dy_date.csv")
feather_file_path = os.path.join(dir_path, "..", "data", "acts_by_date.feather")


# def csv_to_feather(csv_file_path: str, feather_file_path: str) -> None:
Expand Down Expand Up @@ -57,4 +57,4 @@ def is_feather_v1_or_v2(feather_file: str) -> Optional[str]:
return None


# is_feather_v1_or_v2("obfuscated_data.feather")
# is_feather_v1_or_v2("acts_by_date.feather")
4 changes: 2 additions & 2 deletions src/utils/time_file_to_df.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
dir_path = os.path.dirname(os.path.realpath(__file__))

# Construct the paths to the data files
csv_file_path = os.path.join(dir_path, "..", "data", "obfuscated_data.csv")
feather_file_path = os.path.join(dir_path, "..", "data", "obfuscated_data.feather")
csv_file_path = os.path.join(dir_path, "..", "data", "acts_dy_date.csv")
feather_file_path = os.path.join(dir_path, "..", "data", "acts_by_date.feather")


def pandas_read_csv_file() -> pd.DataFrame:
Expand Down
4 changes: 2 additions & 2 deletions tests/save_data_to_filetypes_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
dir_path = os.path.dirname(os.path.realpath(__file__))

# Construct the paths to the data files
csv_file_path = os.path.join(dir_path, "../src", "data", "obfuscated_data.csv")
feather_file_path = os.path.join(dir_path, "../src", "data", "obfuscated_data.feather")
csv_file_path = os.path.join(dir_path, "../src", "data", "acts_dy_date.csv")
feather_file_path = os.path.join(dir_path, "../src", "data", "acts_by_date.feather")


def test_is_feather_v1_or_v2() -> None:
Expand Down

0 comments on commit 703908a

Please sign in to comment.