Spaces:
Sleeping
Sleeping
Mustehson
commited on
Commit
·
ff2f4d3
1
Parent(s):
5023c74
Changed Prompt
Browse files
prompt.py
CHANGED
@@ -46,7 +46,7 @@ Follow this process:
|
|
46 |
FOR DATETIME OR DATE COLUMN USE THE BELOW VALIDATION DO NOT CONISER IT AS INT OR FLOAT
|
47 |
- **DateTime or Date Validation** (e.g., `pa.Column(pa.dtypes.Timestamp, nullable=False), name="date_column")` to ensure dates or datetime)
|
48 |
|
49 |
-
For each column, provide a **column name**, **rule name** and a pandera_rule. Example structure:
|
50 |
|
51 |
```json
|
52 |
[
|
@@ -103,7 +103,7 @@ Follow this process:
|
|
103 |
23. 'pa.Check(lambda x: x )' with lambda functions for custom logic.
|
104 |
**ALWAY USE THE COMPLETE PANDERA SYNTAX**
|
105 |
|
106 |
-
3. For each column, generate a **column name**, **rule name**, and a **Pandera rule** based on the user’s description. Example structure:
|
107 |
|
108 |
```json
|
109 |
[
|
|
|
46 |
FOR DATETIME OR DATE COLUMN USE THE BELOW VALIDATION DO NOT CONISER IT AS INT OR FLOAT
|
47 |
- **DateTime or Date Validation** (e.g., `pa.Column(pa.dtypes.Timestamp, nullable=False), name="date_column")` to ensure dates or datetime)
|
48 |
|
49 |
+
For each column, provide a **column name**, **rule name** and a pandera_rule. Example structure (It should be list of dicts):
|
50 |
|
51 |
```json
|
52 |
[
|
|
|
103 |
23. 'pa.Check(lambda x: x )' with lambda functions for custom logic.
|
104 |
**ALWAY USE THE COMPLETE PANDERA SYNTAX**
|
105 |
|
106 |
+
3. For each column, generate a **column name**, **rule name**, and a **Pandera rule** based on the user’s description. Example structure (It should be list of dicts):
|
107 |
|
108 |
```json
|
109 |
[
|