bigframes.pandas.DataFrame.values#

property DataFrame.values: ndarray#

Return the values of DataFrame in the form of a NumPy array.

Examples:

>>> df = bpd.DataFrame({'col1': [1, 2], 'col2': [3, 4]})
>>> df.values
array([[1, 3],
       [2, 4]], dtype=object)
Parameters:
  • dytype (default None) – The dtype to pass to numpy.asarray().

  • copy (bool, default False) – Whether to ensure that the returned value is not a view on another array.

  • na_value (default None) – The value to use for missing values.

Returns:

The values of the DataFrame.

Return type:

numpy.ndarray