| [ Web Proxy ] |
| Viewing: https://dataframes.bigquery.dev/reference/api/bigframes.bigquery.json_keys.html | [Back] [Original] |
Section Navigation
Returns all keys in the root of a JSON object as an ARRAY of STRINGs.
Examples:
>>> import bigframes.pandas as bpd
>>> import bigframes.bigquery as bbq
>>> s = bpd.Series(['{"b": {"c": 2}, "a": 1}'], dtype="json")
>>> bbq.json_keys(s)
0 ['a' 'b' 'b.c']
dtype: list<item: string>[pyarrow]
input (bigframes.series.Series) The Series containing JSON data.
max_depth (int, optional) Specifies the maximum depth of nested fields to search for keys. If not provided, searched keys at all levels.
A new Series containing arrays of keys from the input JSON.
Copyright 2019, Google.
Created using Sphinx 8.1.3.
Built with the PyData Sphinx Theme 0.19.0.
| Web Proxy Viewer | New URL | Original Page |