Skip to content

Commit

Permalink
fixed linter issue
Browse files Browse the repository at this point in the history
  • Loading branch information
yuzhouw313 committed Dec 5, 2023
1 parent 77b0d9f commit 05d41d1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions utils/minnesota.py
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,6 @@ def standardize(self, data: list[pd.DataFrame]) -> list[pd.DataFrame]:
Returns: A list of 1 standarized DataFrame matching database schema
"""


df = data[0].copy() # Create a copy to avoid modifying the original DataFrame
df["company"] = None # MN dataset has no company information
df["party"] = None # MN dataset has no party information
Expand Down Expand Up @@ -298,7 +297,6 @@ def standardize(self, data: list[pd.DataFrame]) -> list[pd.DataFrame]:

df.at[index, "transaction_id"] = transaction_uuid


# Convert id_mapping to DataFrame and save to CSV
id_mapping_df = pd.DataFrame.from_dict(
id_mapping,
Expand Down

0 comments on commit 05d41d1

Please sign in to comment.