Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

pandas data frame display help

I am using wing 8.3.0.3. I want to view a pandas data frame as a table. I remember seeing this work in the past in wing. I put the code below into a script and set a breakpoint on the line "stop=1". In the stack data tool when I right click on variable "df" and select Show Value as Array, I get a two column table. But each row in the table is some property of the object. I was expecting to see the the data ({'col1': [1, 2], 'col2': [3, 4]}) in a tabular form in the array viewer. I'm using python 3.7.7 and pandas 1.0.3.

import pandas as pd

d = {'col1': [1, 2], 'col2': [3, 4]}
df = pd.DataFrame(data=d)
stop=1

pandas data frame display help

I am using wing 8.3.0.3. I want to view a pandas data frame as a table. I remember seeing this work in the past in wing. I put the code below into a script and set a breakpoint on the line "stop=1". In the stack data tool when I right click on variable "df" and select Show Value as Array, I get a two column table. But each row in the table is some property of the object. I was expecting to see the the data ({'col1': [1, 2], 'col2': [3, 4]}) in a tabular form in the array viewer. I'm using python 3.7.7 and pandas 1.0.3.

import pandas as pd

d = {'col1': [1, 2], 'col2': [3, 4]}
df = pd.DataFrame(data=d)
stop=1

pandas data frame display help

I am using wing 8.3.0.3. I want to view a pandas data frame as a table. I remember seeing this work in the past in wing. I put the code below into a script and set a breakpoint on the line "stop=1". In the stack data tool when I right click on variable "df" and select Show Value as Array, I get a two column table. But each row in the table is some property of the object. I was expecting to see the the data ({'col1': [1, 2], 'col2': [3, 4]}) in a tabular form in the array viewer. I'm using python 3.7.7 and pandas 1.0.3.

import pandas as pd

d = {'col1': [1, 2], 'col2': [3, 4]}
df = pd.DataFrame(data=d)
stop=1

pandas data frame display help

I am using wing 8.3.0.3. I want to view a pandas data frame as a table. I remember seeing this work in the past in wing. I put the code below into a script and set a breakpoint on the line "stop=1". In the stack data tool when I right click on variable "df" and select Show Value as Array, I get a two column table. But each row in the table is some property of the object. I was expecting to see the the data ({'col1': [1, 2], 'col2': [3, 4]}) in a tabular form in the array viewer. I'm using python 3.7.7 and pandas 1.0.3.

import pandas as pd

d = {'col1': [1, 2], 'col2': [3, 4]}
df = pd.DataFrame(data=d)
stop=1