We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c4b4b6 commit a691469Copy full SHA for a691469
examples/dataset/excel.py
@@ -1,11 +1,14 @@
1
import os
2
+from pathlib import Path
3
4
from dingo.config import InputArgs
5
from dingo.exec import Executor
6
7
if __name__ == '__main__':
8
+ # 获取项目根目录
9
+ root_dir = Path(__file__).parent.parent.parent
10
input_data = {
- "input_path": "../../test/data/test_local_excel.xlsx",
11
+ "input_path": str(root_dir / "test/data/test_local_excel.xlsx"),
12
"dataset": {
13
"source": "local",
14
"format": "excel",
0 commit comments