Spaces:
Build error
Build error
Update app.py
Browse files1108 unmodified lines110911101111111211131114111511161117111811191120112111221108 unmodified lines# 3. Save the full dataset to a downloadable file# Get the current working directorycurrent_directory = os.getcwd()print(f"current_directory:"{current_directory})# Define the filenamefilename = 'output_data.xlsx'# Create the complete path by joining the current directory with the filenamefile_path = os.path.join(current_directory, filename)print(f"file path:"{file_path})df.to_excel(file_path, index=False)save_file_to_hostinger(file_path)# 4. Create a summary and table of the first 10 rows for display1108 unmodified lines110911101111111211131114111511161117111811191120112111221108 unmodified lines# 3. Save the full dataset to a downloadable file# Get the current working directorycurrent_directory = os.getcwd()print(f"current_directory:{current_directory}")# Define the filenamefilename = 'output_data.xlsx'# Create the complete path by joining the current directory with the filenamefile_path = os.path.join(current_directory, filename)print(f"file path:{file_path}")df.to_excel(file_path, index=False)save_file_to_hostinger(file_path)# 4. Create a summary and table of the first 10 rows for display
app.py+2-2