jonathanjordan21 commited on
Commit
757e015
·
verified ·
1 Parent(s): f751d1c

Update custom_llm.py

Browse files
Files changed (1) hide show
  1. custom_llm.py +5 -0
custom_llm.py CHANGED
@@ -153,7 +153,12 @@ def out_format(text, llm, df):
153
  Error Message : {err}
154
 
155
 
 
 
 
156
 
 
 
157
 
158
  The output must follow the following example format:
159
  ```python
 
153
  Error Message : {err}
154
 
155
 
156
+ Always change the corresponding columns into datetime format with parameter day_first=True, example:
157
+ df['column_name'] = pd.to_datetime(df['column_name'], day_first=True)
158
+
159
 
160
+ Always use idxmin or idxmax instead of array indicies whenever it is possible
161
+
162
 
163
  The output must follow the following example format:
164
  ```python