Skip to content
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

Misleading error message when a restart is required before a table can be viewed #5535

Open
seeM opened this issue Nov 27, 2024 · 0 comments
Assignees
Labels
area: kernels Issues related to Jupyter kernels and LSP servers bug Something isn't working lang: python

Comments

@seeM
Copy link
Contributor

seeM commented Nov 27, 2024

  1. Create a new environment, or delete pandas/polars in the current environment and restart the session.
  2. Create and view a dataframe:
import pandas as pd
df = pd.DataFrame({'a': [0]})
%view df

You'll see the error in the console:

UsageError: cannot view object of type 'pandas.core.frame.DataFrame'

We should show a more informative error message in the console.

@seeM seeM added area: kernels Issues related to Jupyter kernels and LSP servers bug Something isn't working lang: python labels Nov 27, 2024
@seeM seeM added this to the 2025.01.0 Pre-Release milestone Nov 27, 2024
@seeM seeM self-assigned this Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: kernels Issues related to Jupyter kernels and LSP servers bug Something isn't working lang: python
Projects
None yet
Development

No branches or pull requests

1 participant