El propósito de este instructivo no es explicar las bibliotecas cliente de Python, sino cómo hacer para buscar muestras en otros idiomas (incluida la muestra de este instructivo).
The purpose here is not to explain the Python client libraries, but to explain how to make calls to the Natural Language API.
Debido a que las bibliotecas cliente de Python no están instaladas en el entorno de ejecución de App Engine Python, se deben proveer en la aplicación al igual que las bibliotecas de terceros.
Because the Python client libraries are not installed in the App Engine Python runtime environment, they must be vendored into your application just like third-party libraries.
Alte rezultate
La biblioteca cliente de Python ahora utiliza SQL estándar de forma predeterminada.
Para importar la biblioteca cliente de Python y crear un objeto de cliente, se siguen los mismos pasos en las versiones nuevas y las anteriores de la biblioteca.
Importing the Python client library and creating a client object is the same in previous and newer versions of the library.
A fin de instalar la versión más reciente de la biblioteca cliente de Python, utiliza el comando pip
To install the latest version of the Python client library, use the pip command.
En la primera celda de código, ingresa lo siguiente a fin de actualizar a la última versión de la biblioteca cliente de Python para BigQuery.
In the first code cell, enter the following to update to the latest version of the BigQuery Python client library.
Escribe el código de Python a continuación en la siguiente celda para importar la biblioteca cliente de BigQuery Python y así poder inicializar un cliente.
Type the following Python code into the next cell to import the BigQuery Python client library and initialize a client.
Si deseas obtener más muestras sobre la ejecución de consultas con la versión más reciente de la biblioteca cliente de Python, consulta los siguientes vínculos
For more samples of running queries with the latest Python client library version, see
Este tema proporciona detalles sobre los cambios que debes realizar a tu código de Python para las bibliotecas cliente de BigQuery a fin de utilizar la última versión de la biblioteca cliente de Python.
This topic provides details on the changes that you need to make to your Python code for the BigQuery client libraries so that you can use the latest version of the Python client library.
Conținut posibil inadecvat
Exemplele au rolul de a te ajuta să traduci cuvinte sau expresii corect si adaptat la context. Nu sunt selectate sau validate manual, așadar pot conține termeni inadecvați. Te rugăm să raportezi exemplele pe care le consideri inadecvate. Traducerile vulgare sau colocviale sunt în general marcate cu roșu sau cu portocaliu.
Înregistrează-te pentru a accesa mai multe exemple