Implementar y aplicar una función remota mediante BigQuery DataFrames
Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
Use la API de BigQuery DataFrames para implementar una función de Python como una función de Cloud Function y usarla como una función remota.
Muestra de código
Salvo que se indique lo contrario, el contenido de esta página está sujeto a la licencia Atribución 4.0 de Creative Commons, y los ejemplos de código están sujetos a la licencia Apache 2.0. Para obtener más información, consulta las políticas del sitio de Google Developers. Java es una marca registrada de Oracle o sus afiliados.
[[["Fácil de comprender","easyToUnderstand","thumb-up"],["Resolvió mi problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Información o código de muestra incorrectos","incorrectInformationOrSampleCode","thumb-down"],["Faltan la información o los ejemplos que necesito","missingTheInformationSamplesINeed","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Otro","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."]]],[]]