First time here? Check out the FAQ!

mbibee's profile - activity

2022-06-21 12:30:48 -0500 received badge Notable Question (source)
2022-05-02 11:43:30 -0500 marked best answer 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
2022-05-02 11:41:52 -0500 received badge Popular Question (source)
2022-04-22 11:38:37 -0500 commented answer pandas data frame display help

I never would have found that. Works just like I remember it. Thanks!

2022-04-21 13:01:14 -0500 commented question pandas data frame display help

The display tool is showing me a 2d table (I tried to paste in a markdown table but it is re-formatting it). It looks l

2022-04-21 12:59:51 -0500 commented question pandas data frame display help

The display tool is showing me a 2d table. It looks like exactly what you would get by doing a "dir(df)" if you removed

2022-04-20 08:11:44 -0500 received badge Student (source)
2022-04-20 08:11:37 -0500 asked a question pandas data frame display help

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 seei