diff --git a/pandas/core/indexing.py b/pandas/core/indexing.py index a2871f364f092..97578e3f1668b 100644 --- a/pandas/core/indexing.py +++ b/pandas/core/indexing.py @@ -604,12 +604,12 @@ def at(self) -> _AtIndexer: Raises ------ KeyError - * If getting a value and 'label' does not exist in a DataFrame or - Series. + If getting a value and 'label' does not exist in a DataFrame or Series. + ValueError - * If row/column label pair is not a tuple or if any label from - the pair is not a scalar for DataFrame. - * If label is list-like (*excluding* NamedTuple) for Series. + If row/column label pair is not a tuple or if any label + from the pair is not a scalar for DataFrame. + If label is list-like (*excluding* NamedTuple) for Series. See Also --------