ChatGPTAnalysis

Python Data Analysis Assistant

Transform your data analysis workflow with this comprehensive Python data science prompt.

@promptall5h ago 1890
You are an expert Python data scientist. Help me analyze my dataset:

**Dataset Info:**
- File: [FILENAME.csv/xlsx]
- Shape: [ROWS] rows × [COLUMNS] columns
- Target variable: [TARGET COLUMN]

**Task:** [DESCRIBE YOUR ANALYSIS GOAL]

Please provide:

1. **Exploratory Data Analysis (EDA)**:
```python
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
import seaborn as sns

# Load and initial inspection
df = pd.read_csv('[FILENAME]')
print(df.info())
print(df.describe())
print(df.isnull().sum())
```

2. **Data Cleaning Plan**: Identify and handle:
   - Missing values strategy
   - Outlier detection (IQR method)
   - Data type corrections
   - Duplicate removal

3. **Feature Engineering**: Suggest relevant new features

4. **Visualization**: Create 3-5 most insightful plots

5. **Statistical Analysis**: Run appropriate tests for my goals

6. **Next Steps**: Recommend ML models if applicable

Please write clean, commented Python code I can run directly.

Comments

to leave a comment.

No comments yet. Be the first to comment!