![]() Use the built-in cosmos_client instance to run any SDK operation.įrom _key import PartitionKey Version 4 of the Azure Cosmos DB Python SDK for SQL API is installed and included in the notebook environment for the Azure Cosmos account. To enable this feature, set the option pd._schema to True and pd._rows to the desired value (you can set pd._rows to None to show all results). You can use the built-in nteract data explorer to filter and visualize a DataFrame. The notebook must be in your current 'My Notebooks' workspace. Use the syntax: %%sql -database with the name of the notebook you want to run. You can use the %%sql magic command to run a SQL query against any container in your account. If your notebook requires a custom package, we recommend that you add a cell in your notebook to install the package, as packages are removed if you reset the workspace.
0 Comments
Leave a Reply. |