8000 fix: error message fix. by Genesis929 · Pull Request #375 · googleapis/python-bigquery-dataframes · GitHub
[go: up one dir, main page]

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions bigframes/dataframe.py
Original file line number Diff line number Diff line change
Expand Up @@ -1532,7 +1532,7 @@ def _filter_rows(
) -> DataFrame:
if len(self._block.index_columns) > 1:
raise NotImplementedError(
"Method filter does not support rows multiindex. {constants.FEEDBACK_LINK}"
f"Method filter does not support rows multiindex. {constants.FEEDBACK_LINK}"
)
if (like is not None) or (regex is not None):
block = self._block
Expand Down Expand Up @@ -1760,7 +1760,7 @@ def dropna(
) -> DataFrame:
if inplace:
raise NotImplementedError(
"'inplace'=True not supported. {constants.FEEDBACK_LINK}"
f"'inplace'=True not supported. {constants.FEEDBACK_LINK}"
)
if how not in ("any", "all"):
raise ValueError("'how' must be one of 'any', 'all'")
Expand Down
2 changes: 1 addition & 1 deletion bigframes/functions/remote_function.py
Original file line number Diff line number Diff line change
Expand Up @@ -880,7 +880,7 @@ def read_gbq_function(
ibis_signature = ibis_signature_from_routine(routine)
except ReturnTypeMissingError:
raise ValueError(
"Function return type must be specified. {constants.FEEDBACK_LINK}"
f"Function return type must be specified. {constants.FEEDBACK_LINK}"
)
except bigframes.dtypes.UnsupportedTypeError as e:
raise ValueError(
Expand Down
2 changes: 1 addition & 1 deletion bigframes/series.py
Original file line number Diff line number Diff line change
Expand Up @@ -1242,7 +1242,7 @@ def filter(
)
if len(self._block.index_columns) > 1:
raise NotImplementedError(
"Method filter does not support rows multiindex. {constants.FEEDBACK_LINK}"
f"Method filter does not support rows multiindex. {constants.FEEDBACK_LINK}"
)
if (like is not None) or (regex is not None):
block = self._block
Expand Down
0