From d3e582168194dc0b34b676ca8d190591584cc8e1 Mon Sep 17 00:00:00 2001 From: stijn Date: Sat, 13 Mar 2021 15:59:15 +0000 Subject: [PATCH] DOC: Include code styling GH40375 --- pandas/core/frame.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandas/core/frame.py b/pandas/core/frame.py index c048088ec2350..5fe1e44379cca 100644 --- a/pandas/core/frame.py +++ b/pandas/core/frame.py @@ -3784,7 +3784,7 @@ def _box_col_values(self, values, loc: int) -> Series: # Unsorted def query(self, expr: str, inplace: bool = False, **kwargs): - r""" + """ Query the columns of a DataFrame with a boolean expression. Parameters @@ -3800,7 +3800,7 @@ def query(self, expr: str, inplace: bool = False, **kwargs): by surrounding them in backticks. Thus, column names containing spaces or punctuations (besides underscores) or starting with digits must be surrounded by backticks. (For example, a column named "Area (cm^2)" would - be referenced as \`Area (cm^2)\`). Column names which are Python keywords + be referenced as ```Area (cm^2)```). Column names which are Python keywords (like "list", "for", "import", etc) cannot be used. For example, if one of your columns is called ``a a`` and you want