Skip to content

DOC: Clarifying brackets vs. parentheses #57236

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

nkasing
Copy link
Contributor

@nkasing nkasing commented Feb 4, 2024

In addition to the clarification requested in #56972, I adjusted the language where square brackets were specified elsewhere in the documentation to match "square brackets []", with the exception of one file.

In the data subsetting tutorial guide (doc/source/getting_started/intro_tutorials/03_subset_data.rst), square brackets are specified towards the beginning of the guide, and "selection brackets" was used elsewhere, often to specify outer vs. inner square brackets (i.e. df[['ColA', 'ColB']])

@rhshadrach rhshadrach added the Docs label Feb 4, 2024
Copy link
Member

@rhshadrach rhshadrach left a comment

Choose a reason for hiding this comment

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

lgtm

@rhshadrach rhshadrach added this to the 3.0 milestone Feb 4, 2024
@rhshadrach rhshadrach merged commit 0a841ae into pandas-dev:main Feb 4, 2024
@rhshadrach
Copy link
Member

Thanks @noah-asing!

@nkasing nkasing deleted the noaha/doc-update-brackets-clarity branch February 4, 2024 18:25
pmhatre1 pushed a commit to pmhatre1/pandas-pmhatre1 that referenced this pull request May 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DOC: Clarifying Terminology: "Brackets" vs "Parentheses"
2 participants