Update app.py
Browse files
app.py
CHANGED
|
@@ -288,7 +288,7 @@ def generate_pdf_report(analysis, figures, stats):
|
|
| 288 |
def analyze_csv_with_groq(df, prompt):
|
| 289 |
system_prompt = f"""You are a data analyst. Answer this question: {prompt}
|
| 290 |
The dataset has {len(df)} rows and these columns: {', '.join(df.columns)}.
|
| 291 |
-
Provide detailed insights and explanations. Don't do mathemtical operations or analysis on personal informations in data"""
|
| 292 |
|
| 293 |
data_context = f"""
|
| 294 |
Dataset Sample:
|
|
|
|
| 288 |
def analyze_csv_with_groq(df, prompt):
|
| 289 |
system_prompt = f"""You are a data analyst. Answer this question: {prompt}
|
| 290 |
The dataset has {len(df)} rows and these columns: {', '.join(df.columns)}.
|
| 291 |
+
Provide detailed insights and explanations. Don't do mathemtical operations or analysis on personal informations in data. Avoid mathematics"""
|
| 292 |
|
| 293 |
data_context = f"""
|
| 294 |
Dataset Sample:
|