Skip to content

Conversation

@jorisvandenbossche
Copy link
Member

Expanding the Series(..) constructor tests to cover all cases for copy=True vs False vs default None, and ensure we still honor copy=True when passing a Series or Index.

Triggered by checking the exact behaviour to describe that in the docstring for #63341

@jorisvandenbossche jorisvandenbossche added Series Series data structure Constructors Series/DataFrame/Index/pd.array Constructors Copy / view semantics labels Dec 12, 2025

refs = data._references
copy = False
if not copy:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just confirming, does this impact the behavior/address #63306?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Constructors Series/DataFrame/Index/pd.array Constructors Copy / view semantics Series Series data structure

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants