question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Spyder ipython could not show H2O dataframe

See original GitHub issue

Description of your problem

Spyder ipython console doesn’t show h2o dataframe correctly. What steps will reproduce the problem?

  1. import h2o #import h2o module
  2. import pandas as pd # import pandas module
  3. h2o.init() #initialize h2o on cluster
  4. df = pd.read_csv(‘dataXy_2.csv’) # read any file into pandas dataframe
  5. hf = h2o.H2OFrame(df) # convert pandas dataframe into H2O dataframe
  6. run the above code in ipython console of Spyder, try to print hf, or hf.summary(), hf.show(), hf.describe()

What is the expected output? What do you see instead? The hf dataframe structure, but out put nothing.

Please provide any additional information below I tried to use Jupyter notebook or ipython notebook, they were showing the dataframe fine.

Versions and main components

  • Spyder Version: 3.1.4.dev0
  • Python Version: 3.5.3
  • Qt Version: 5.8.0
  • PyQt Version: 5.8.1
  • Operating system: Windows

Dependencies

h2o, pandas Please go to the menu entry Help > Optional Dependencies (or Help > Dependencies), press the button Copy to clipboard and paste the contents below:

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:17 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
iutboycommented, Apr 23, 2019

this is the workaround for now, convert it to dataframe h2odf.as_data_frame()

2reactions
marvelycommented, Nov 1, 2019

I recently start using spyder and doing something with H2O, this issue bothers me a lot! Can you find someone to fix this old bug? I really prefer using spyder than jupyter notebook but this one bug may be able to force me ditch spyder… 😭

Read more comments on GitHub >

github_iconTop Results From Across the Web

spyder-ide/public - Gitter
@CAM-Gerlach I can use nost functionalities of H2O but I can not see the h2o dataframe..in other words, I can not use simple...
Read more >
how can i display data frames in spyder? - Stack Overflow
in the variable explorer it only shows me the entire data frame. when i use print(data_frame.head()) , i see on the console only...
Read more >
The H2O Python Module - H2O.ai Documentation
This Python module provides access to the H2O JVM, as well as its extensions, objects, machine-learning algorithms, and modeling support capabilities, such as ......
Read more >
Display results/layers in Spyder Jupyter Notebook
Is there a way to visualize query results (like a Query Table or layer) in either of these IDE's? I know you can...
Read more >
Python Pandas Tutorials For Beginners - Spark by {Examples}
Note: In case you can't find the pandas DataFrame examples you are looking for on ... In this section of the python pandas...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found