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 b9715c9 commit c6173b5Copy full SHA for c6173b5
pandas/io/formats/style.py
@@ -850,8 +850,8 @@ def _apply(
850
if not isinstance(result, pd.DataFrame):
851
if not isinstance(result, np.ndarray):
852
raise TypeError(
853
- f"Function {repr(func)} must return a DataFrame or ndarray when"
854
- f" passed to `Styler.apply` with axis=None"
+ f"Function {repr(func)} must return a DataFrame or ndarray "
+ f"when passed to `Styler.apply` with axis=None"
855
)
856
if not (data.shape == result.shape):
857
raise ValueError(
0 commit comments