Skip to content

Commit 355699e

Browse files
committed
remove accidental reference to defunct index= argument from error message
1 parent 226250e commit 355699e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

patsy/build.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -998,8 +998,7 @@ def build_design_matrices(builders, data,
998998
else:
999999
raise PatsyError(
10001000
"No design matrix has any non-trivial factors, "
1001-
"the data object is not a DataFrame, "
1002-
"and no index= argument was supplied. "
1001+
"the data object is not a DataFrame. "
10031002
"I can't tell how many rows the design matrix should "
10041003
"have!"
10051004
)

0 commit comments

Comments
 (0)