Skip to content

Commit 321e160

Browse files
committed
BUG: Fix missing f-string
Add f to string in exception
1 parent 9846953 commit 321e160

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

statsmodels/stats/descriptivestats.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ def __init__(
291291
if self._data.shape[1] == 0:
292292

293293
raise ValueError(
294-
"Selecting {col_types} results in an empty DataFrame"
294+
f"Selecting {col_types} results in an empty DataFrame"
295295
)
296296
self._is_numeric = [is_numeric_dtype(dt) for dt in self._data.dtypes]
297297
self._is_cat_like = [

0 commit comments

Comments
 (0)