spyder: Spyder ipython could not show H2O dataframe
Description 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:
About this issue
- Original URL
- State: open
- Created 9 years ago
- Comments: 17 (4 by maintainers)
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… 😭
@marvely we are working to solve this issue.