Prompting strategy
To utilize ChatGPT effectively for data exploration of the Amazon product review dataset, we need to establish clear prompting strategies tailored to generate Python code and data insights. Here’s how we can approach this.
Strategy 1: Task-Actions-Guidelines (TAG) prompt strategy
1.1 – Task: The specific goal is to explore the Amazon product review dataset thoroughly using various statistical and visualization techniques.
1.2 – Actions: The key steps in exploring this dataset include:
- Data Loading: Load the dataset into a pandas DataFrame.
- Data Inspection: Check for missing data, understand data types, and inspect the first few entries.
- Statistical Summaries: Calculate summary statistics for numerical data.
- Categorical Analysis: Analyze categorical variables using counts and visualizations.
- Rating Distribution: Create histograms or bar charts to visualize the distribution of star ratings. ...