File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -93,7 +93,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
9393 -i " pandas.core.resample.Resampler.std SA01" \
9494 -i " pandas.core.resample.Resampler.transform PR01,RT03,SA01" \
9595 -i " pandas.core.resample.Resampler.var SA01" \
96- -i " pandas.errors.UndefinedVariableError PR01,SA01" \
9796 -i " pandas.errors.ValueLabelTypeMismatch SA01" \
9897 -i " pandas.plotting.andrews_curves RT03,SA01" \
9998 -i " pandas.tseries.offsets.BDay PR02,SA01" \
Original file line number Diff line number Diff line change @@ -588,6 +588,20 @@ class UndefinedVariableError(NameError):
588588
589589 It will also specify whether the undefined variable is local or not.
590590
591+ Parameters
592+ ----------
593+ name : str
594+ The name of the undefined variable.
595+ is_local : bool or None, optional
596+ Indicates whether the undefined variable is considered a local variable.
597+ If ``True``, the error message specifies it as a local variable.
598+ If ``False`` or ``None``, the variable is treated as a non-local name.
599+
600+ See Also
601+ --------
602+ DataFrame.query : Query the columns of a DataFrame with a boolean expression.
603+ DataFrame.eval : Evaluate a string describing operations on DataFrame columns.
604+
591605 Examples
592606 --------
593607 >>> df = pd.DataFrame({"A": [1, 1, 1]})
You can’t perform that action at this time.
0 commit comments