Skip to content

Commit

Permalink
docs: Add DataFrame.applymap documentation (#326)
Browse files Browse the repository at this point in the history
* docs: Add `DataFrame.applymap` documentation

* fix rendering in the remote function requirements section
  • Loading branch information
shobsi authored Jan 18, 2024
1 parent f45c078 commit bd531a1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ following IAM roles:
* BigQuery Connection Admin (roles/bigquery.connectionAdmin)
* Cloud Functions Developer (roles/cloudfunctions.developer)
* Service Account User (roles/iam.serviceAccountUser) on the
`service account <https://cloud.google.com/functions/docs/reference/iam/roles#additional-configuration> `
`service account <https://cloud.google.com/functions/docs/reference/iam/roles#additional-configuration>`__
``[email protected]``
* Storage Object Viewer (roles/storage.objectViewer)
* Project IAM Admin (roles/resourcemanager.projectIamAdmin)
Expand Down
3 changes: 2 additions & 1 deletion third_party/bigframes_vendored/pandas/core/frame.py
Original file line number Diff line number Diff line change
Expand Up @@ -2961,7 +2961,6 @@ def map(self, func, na_action: Optional[str] = None) -> DataFrame:
to every element of a DataFrame.
.. note::
In pandas 2.1.0, DataFrame.applymap is deprecated and renamed to
DataFrame.map.
Expand Down Expand Up @@ -3038,6 +3037,8 @@ def map(self, func, na_action: Optional[str] = None) -> DataFrame:
"""
raise NotImplementedError(constants.ABSTRACT_METHOD_ERROR_MESSAGE)

applymap = map

# ----------------------------------------------------------------------
# Merging / joining methods

Expand Down

0 comments on commit bd531a1

Please sign in to comment.