Skip to content

Commit b5e44c7

Browse files
committed
CLN: fix grammar in extract_index error message
1 parent 8be501f commit b5e44c7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas/core/frame.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5713,7 +5713,8 @@ def extract_index(data):
57135713
raw_lengths.append(len(v))
57145714

57155715
if not indexes and not raw_lengths:
5716-
raise ValueError('If use all scalar values, must pass index')
5716+
raise ValueError('If using all scalar values, you must must pass'
5717+
' an index')
57175718

57185719
if have_series or have_dicts:
57195720
index = _union_indexes(indexes)

0 commit comments

Comments
 (0)