Generate Exploratory Data Analysis (EDA) Steps/Code
Categories: STEM & Technical Topics Programming & Development Code Generation & Debugging Data Analysis (Primary)
Generate starter code in [Language/Library, e.g., 'Python using Pandas, Matplotlib, and Seaborn', 'R using dplyr and ggplot2'] for performing basic Exploratory Data Analysis (EDA) on a dataset loaded into a dataframe named 'df'. Assume 'df' contains [Briefly describe data, e.g., 'customer survey responses with numerical and categorical columns']. The code should include steps/functions for: - Viewing the first few rows (.head()) - Getting data types and non-null counts (.info()) - Calculating summary statistics (.describe()) - Visualizing distributions of key numerical columns (histograms/boxplots) - Visualizing counts of key categorical columns (bar charts) - Exploring relationships between 2-3 key variables (scatter plots/pairplots)
You can edit the prompt before copy
If you share the link prompt will be shared without your changes