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
93
93
-i " pandas.core.resample.Resampler.std SA01" \
94
94
-i " pandas.core.resample.Resampler.transform PR01,RT03,SA01" \
95
95
-i " pandas.core.resample.Resampler.var SA01" \
96
- -i " pandas.errors.UndefinedVariableError PR01,SA01" \
97
96
-i " pandas.errors.ValueLabelTypeMismatch SA01" \
98
97
-i " pandas.plotting.andrews_curves RT03,SA01" \
99
98
-i " pandas.tseries.offsets.BDay PR02,SA01" \
Original file line number Diff line number Diff line change @@ -588,6 +588,20 @@ class UndefinedVariableError(NameError):
588
588
589
589
It will also specify whether the undefined variable is local or not.
590
590
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
+
591
605
Examples
592
606
--------
593
607
>>> df = pd.DataFrame({"A": [1, 1, 1]})
You can’t perform that action at this time.
0 commit comments