medium
CSV Data Cleaning Script
Generate a Python script to remove empty rows and format dates in a CSV file.
📝 Содержимое промпта
Write a Python script using the pandas library to read a file named data.csv. The script should remove any rows where the 'email' column is empty, convert the 'date' column to datetime objects, and save the cleaned data to a new file called cleaned_data.csv.