bigframes.pandas.DataFrame.values#

propertyDataFrame.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.valuesarray([[1, 3],       [2, 4]], dtype=object)
Parameters:
  • dytype (default None) – The dtype to pass tonumpy.asarray().

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

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

Returns:

The values of the DataFrame.

Return type:

numpy.ndarray

On this page

This Page