Déployer et appliquer une fonction distante à l'aide de BigQuery DataFrames
Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Utilisez l'API BigQuery DataFrames pour déployer une fonction Python en tant que fonction Cloud et l'utiliser comme fonction distante.
Exemple de code
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Difficile à comprendre","hardToUnderstand","thumb-down"],["Informations ou exemple de code incorrects","incorrectInformationOrSampleCode","thumb-down"],["Il n'y a pas l'information/les exemples dont j'ai besoin","missingTheInformationSamplesINeed","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Autre","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."]]],[]]