You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* cache function
* fix test
* bin cache
* fix test
* fix test
* fix test
* cache for different source
* cache for localenv
* remove unnecessary log
* reformat
* remove unrelated modify
Copy file name to clipboardExpand all lines: rdagent/components/coder/data_science/raw_data_loader/prompts.yaml
+5
Original file line number
Diff line number
Diff line change
@@ -334,6 +334,11 @@ data_loader_coder:
334
334
## Guidelines
335
335
1. Ensure that the dataset is loaded strictly from `/kaggle/input/`, following the exact folder structure described in the **Data Folder Description**, and do not attempt to load data from the current directory (`./`).
336
336
2. You should avoid using logging module to output information in your generated code, and instead use the print() function.
337
+
3. You should use the following cache decorator to cache the results of the function:
338
+
```python
339
+
from joblib import Memory
340
+
memory = Memory(location='/tmp/cache', verbose=0)
341
+
@memory.cache```
337
342
338
343
## Exploratory Data Analysis (EDA) part(Required):
339
344
- Before returning the data, you should always add an EDA part describing the data to help the following steps understand the data better.
0 commit comments