Skip to content

Commit e6eeaec

Browse files
sstiijnJulianWgs
authored andcommitted
DOC: Include code styling GH40375 (pandas-dev#40419)
1 parent b3e304e commit e6eeaec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/core/frame.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -3745,7 +3745,7 @@ def _box_col_values(self, values, loc: int) -> Series:
37453745
# Unsorted
37463746

37473747
def query(self, expr: str, inplace: bool = False, **kwargs):
3748-
r"""
3748+
"""
37493749
Query the columns of a DataFrame with a boolean expression.
37503750
37513751
Parameters
@@ -3761,7 +3761,7 @@ def query(self, expr: str, inplace: bool = False, **kwargs):
37613761
by surrounding them in backticks. Thus, column names containing spaces
37623762
or punctuations (besides underscores) or starting with digits must be
37633763
surrounded by backticks. (For example, a column named "Area (cm^2)" would
3764-
be referenced as \`Area (cm^2)\`). Column names which are Python keywords
3764+
be referenced as ```Area (cm^2)```). Column names which are Python keywords
37653765
(like "list", "for", "import", etc) cannot be used.
37663766
37673767
For example, if one of your columns is called ``a a`` and you want

0 commit comments

Comments
 (0)