diff --git a/src/ansys/mapdl/core/commands.py b/src/ansys/mapdl/core/commands.py index 70d9b1ab7c..2f1e3a0eec 100644 --- a/src/ansys/mapdl/core/commands.py +++ b/src/ansys/mapdl/core/commands.py @@ -22,13 +22,13 @@ from functools import wraps import re -from typing import TYPE_CHECKING, Any, Callable, Dict, List, Optional, Tuple +from typing import Any, Callable, Dict, List, Optional, Tuple import numpy as np from ansys.mapdl.core import _HAS_PANDAS -if TYPE_CHECKING and _HAS_PANDAS: +if _HAS_PANDAS: import pandas from ._commands import (