Deploy and apply a remote function using BigQuery DataFrames
Stay organized with collections
Save and categorize content based on your preferences.
Use the BigQuery DataFrames API to deploy a Python function as a Cloud Function and use it as a remote function.
Code sample
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],[],[[["The BigQuery DataFrames API allows for the deployment of custom Python functions as Cloud Functions, enabling their use as remote functions within BigQuery."],["A custom scalar function can be applied to every value in a `Series` using the `apply` API, such as bucketizing numeric data into categorical strings."],["Remote functions can be created with external package dependencies, as demonstrated by a hashing function that relies on the `cryptography` package."],["BigQuery DataFrames provides the ability to create a BigQuery remote function, which is discoverable via a property on the remote function object, in addition to a cloud function."],["User code deployed as a cloud function may be visible to others, and therefore sensitive data in the code should be handled with caution."]]],[]]