Move pandas dep to inner function
Browse files
{{cookiecutter.repo_name}}/cli.py
CHANGED
@@ -2,7 +2,6 @@ import datetime
|
|
2 |
import subprocess
|
3 |
from pathlib import Path
|
4 |
|
5 |
-
import pandas as pd
|
6 |
import typer
|
7 |
from datasets import get_dataset_config_names, load_dataset
|
8 |
|
@@ -53,6 +52,7 @@ def install():
|
|
53 |
|
54 |
@app.command()
|
55 |
def validate():
|
|
|
56 |
tasks = get_dataset_config_names("ought/raft")
|
57 |
|
58 |
# Check that all the expected files exist
|
|
|
2 |
import subprocess
|
3 |
from pathlib import Path
|
4 |
|
|
|
5 |
import typer
|
6 |
from datasets import get_dataset_config_names, load_dataset
|
7 |
|
|
|
52 |
|
53 |
@app.command()
|
54 |
def validate():
|
55 |
+
import pandas as pd
|
56 |
tasks = get_dataset_config_names("ought/raft")
|
57 |
|
58 |
# Check that all the expected files exist
|