Spyder ipython could not show H2O dataframe
See original GitHub issueDescription of your problem
Spyder ipython console doesn’t show h2o dataframe correctly. What steps will reproduce the problem?
- import h2o #import h2o module
- import pandas as pd # import pandas module
- h2o.init() #initialize h2o on cluster
- df = pd.read_csv(‘dataXy_2.csv’) # read any file into pandas dataframe
- hf = h2o.H2OFrame(df) # convert pandas dataframe into H2O dataframe
- 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:
- Created 6 years ago
- Comments:17 (4 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

this is the workaround for now, convert it to dataframe h2odf.as_data_frame()
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… 😭