DataFrame.values
Pandas DataFrame.values
returns a Numpy representation of the given DataFrame.
Syntax: DataFrame.values
Parameter: None
Returns: array
Example # 1: Use the DataFrame.values
attribute to return an empty representation of the given DataFrame.
|
Output:
Now we will use the DataFrame.values attribute
to return an empty view of the given DataFrame.
|
Output:
As we can see in the output, the DataFrame.values
attribute has successfully returned an empty representation of the given DataFrame.
Example # 2: Use the attribute DataFrame.values
to return an empty view of the given DataFrame.
|
Output:
We will now use the DataFrame.values
attribute to return an empty representation of the given DataFrame.
|
Output:
As we can see in the output, the DataFrame.values
attribute has successfully returned an empty representation of the given DataFrame.