Skip to content
Advertisement

How do I remove name and dtype from pandas output

I have output that looks like this:

JavaScript

What must be done to remove both Name and dtype at end of output?

Advertisement

Answer

Use the .values attribute.

Example:

JavaScript

You can convert to a list or access each value:

JavaScript
User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement