Skip to content

Commit

Permalink
fix: update to catch import error while importing pandas_profiling
Browse files Browse the repository at this point in the history
Signed-off-by: ktro2828 <[email protected]>
  • Loading branch information
ktro2828 committed Dec 22, 2023
1 parent bc78578 commit 5069aa8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion perception_eval/perception_eval/visualization/eda_tool.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
import matplotlib.pyplot as plt
import numpy as np
import pandas as pd
import pandas_profiling as pdp
from perception_eval.common.evaluation_task import EvaluationTask
from perception_eval.common.label import LabelConverter
from perception_eval.common.label import LabelType
Expand All @@ -36,6 +35,11 @@
from plotly.graph_objs import Figure
from plotly.subplots import make_subplots

try:
import pandas_profiling as pdp
except ImportError:
import ydata_profiling as pdp

Check warning on line 41 in perception_eval/perception_eval/visualization/eda_tool.py

View workflow job for this annotation

GitHub Actions / spellcheck

Unknown word (ydata)

logger = getLogger(__name__)


Expand Down

0 comments on commit 5069aa8

Please sign in to comment.