bigframes.pandas.DataFrame.keys#

DataFrame.keys() Index[source]#

Get the ‘info axis’.

This is index for Series, columns for DataFrame.

Examples:

>>> df = bpd.DataFrame({
...     'A': [1, 2, 3],
...     'B': [4, 5, 6],
...     })
>>> df.keys()
Index(['A', 'B'], dtype='object')
Returns:

Info axis.

Return type:

pandas.Index