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 70708b3 commit a1f9068Copy full SHA for a1f9068
pandas/core/series.py
@@ -313,9 +313,9 @@ def __init__(
313
if n == 0:
314
# gh-16737
315
warnings.warn(
316
- "The default index type for empty data will be 'Index'"
317
- " instead of 'RangeIndex' in a future version."
318
- " Specify an index explicitly to silence this warning.",
+ "The default index type for empty data will be 'Index' "
+ "instead of 'RangeIndex' in a future version. "
+ "Specify an index explicitly to silence this warning.",
319
DeprecationWarning,
320
stacklevel=2,
321
)
0 commit comments