File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed
Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -26,7 +26,6 @@ def summary_stats(df):
2626 print (df .select_dtypes (include = 'object' ).describe ())
2727
2828
29-
3029def logarithmic_numerical_distribution (
3130 df ,
3231 columns = None ,
Original file line number Diff line number Diff line change 11import pandas as pd
22
3+ # Define your output path
34output_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 } " )
You can’t perform that action at this time.
0 commit comments