Skip to content

Commit ee63eff

Browse files
committed
Add FastAPI app with Docker, CI/CD, and linter
1 parent ebb4a99 commit ee63eff

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

src/load.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ def summary_stats(df):
2626
print(df.select_dtypes(include='object').describe())
2727

2828

29-
3029
def logarithmic_numerical_distribution(
3130
df,
3231
columns=None,

src/saveFile.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import pandas as pd
22

3+
# Define your output path
34
output_path = (
4-
r"C:\Users\ABC\Desktop\10Acadamy\Week 5"
5-
r"\Credit-Risk-Probability-Model"
5+
r"C:\Users\ABC\Desktop\10Acadamy\Week 5\Credit-Risk-Probability-Model"
66
r"\data\processed"
77
)
88

@@ -33,9 +33,6 @@ def save_dataframe_to_csv(df, filename):
3333
filename (str): The name of the CSV file (without extension).
3434
"""
3535
df = convert_tz_aware_to_naive(df)
36-
full_path = (
37-
f"{output_path}/"
38-
f"{filename}.csv"
39-
)
36+
full_path = f"{output_path}/{filename}.csv"
4037
df.to_csv(full_path, index=False)
4138
print(f"Data saved to {full_path}")

0 commit comments

Comments
 (0)