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 e6da5f2 commit f2b7bd8Copy full SHA for f2b7bd8
pandas/compat/_optional.py
@@ -152,8 +152,8 @@ def import_optional_dependency(
152
install_name = package_name if package_name is not None else name
153
154
msg = (
155
- f"Missing optional dependency '{install_name}'. {extra} "
156
- f"Use pip or conda to install {install_name}."
+ f"`Import {install_name}` failed. {extra} "
+ f"Use pip or conda to install the {install_name} package."
157
)
158
try:
159
module = importlib.import_module(name)
0 commit comments