-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Datahub python interpreter has problems displaying Pandas dataframes #5581
Comments
even did it for the following code block which is there as a kind of toy example birds = pd.DataFrame({'color':['white', 'grey', 'white'], |
Further note--I restarted the kernel, and dataframes displayed as expected. The problem seems to occur when the students or I have been working for awhile in a notebook and then try to display a dataframe. I cannot explain the difference in behavior when I restart the kernel. I will tell students to do that for now. |
hey @jdmarshl ! i tried to replicate this earlier today, but was unable to. if this happens again, could you let us know here immediately.
yeah, this is really strange and i'm at a loss to explain it. |
I will be careful to see what the state of my (or someone else's) notebook
is when the problem occurs. It does not happen when I start the kernel and
run a notebook all the way through. I will check on what's happening when
students are doing the their labs and let you know when I learn more.
jdm
Jon Marshall, Ph.D. (he/him)
Assistant Dean
JSP/Legal Studies
…On Mon, Mar 4, 2024 at 11:46 AM shane ***@***.***> wrote:
hey @jdmarshl <https://github.com/jdmarshl> ! i tried to replicate this
earlier today, but was unable to. if this happens again, could you let us
know here immediately.
The problem seems to occur when the students or I have been working for awhile in a notebook and then try to display a dataframe. I cannot explain the difference in behavior when I restart the kernel.
yeah, this is really strange and i'm at a loss to explain it.
—
Reply to this email directly, view it on GitHub
<#5581 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AHXFERYPCXH2W66OSPB7RXDYWTFSTAVCNFSM6AAAAABEEKBX4OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZXGMZTOMJXGU>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Bug description
My students I and encountered this problem starting last week. When you call a dataframe, either by name or using df.head(), there is an error message that indicates an indexing problem. Does not happen locally. I am attaching a pdf that shows the output. It seems to do it whenever we call a df object.
14_MoreClassifiers_solutions.pdf
Environment & setup
How to reproduce
create a Pandas dataframe
call the dataframe, either by itself or using .head()
interpreter displays error message saying that it has an indexing problem across the columns
The text was updated successfully, but these errors were encountered: