Python控制台在使用h2o发出命令时自动打印数据
我用h2o来建立我的模型。在执行以下命令之前,我的控制台工作正常: 当我使用h20创建数据帧时,如Python控制台在使用h2o发出命令时自动打印数据,python,pandas,macos,pycharm,h2o,Python,Pandas,Macos,Pycharm,H2o,我用h2o来建立我的模型。在执行以下命令之前,我的控制台工作正常: 当我使用h20创建数据帧时,如 ... h2o_train_df = h2o.H2OFrame(train_df) ... h2o_test_df = h2o.H2OFrame(test_df) ... Parse progress: |█████████████████████████████████████████████████████████| 100% Parse progress: |███████████████
... h2o_train_df = h2o.H2OFrame(train_df)
... h2o_test_df = h2o.H2OFrame(test_df)
...
Parse progress: |█████████████████████████████████████████████████████████| 100%
Parse progress: |█████████████████████████████████████████████████████████| 100%
about account after again also amount another asked back balance bank because been being call called card charges check closed collection company complaint contacted could credit credit card credit report customer date days debt dispute email even fraud from have have been help home information interest just know late letter loan made make money month months more mortgage name never number only other over paid payment payments phone please received report request said same sent service should since stated still that that they their them then there these they they have this through time times told were what when which will with would years your target_var
--------- --------- --------- --------- --------- --------- --------- -------- --------- --------- -------- --------- --------- ------- --------- --------- -------- --------- -------- -------- ------------ --------- ----------- ----------- --------- --------- ------------- --------------- ---------- ------ --------- -------- --------- ------- -------- -------- --------- --------- ----------- -------- --------- ------------- ---------- -------- --------- ------ --------- -------- -------- --------- --------- -------- -------- -------- ---------- --------- --------- -------- --------- -------- --------- -------- --------- ---------- -------- -------- ---------- --------- --------- --------- -------- --------- --------- -------- ------- -------- ------- --------- ----------- --------- --------- -------- --------- -------- --------- ----------- --------- --------- --------- -------- --------- --------- --------- --------- --------- -------- --------- --------- -------- ------ ------------
0 0.0405105 0.0544367 0 0.0575313 0 0 0 0 0.0677847 0 0 0 0 0.0597313 0.105183 0.358169 0 0 0 0 0.105564 0 0 0.0642941 0.250343 0.146632 0.283801 0 0 0 0 0.474345 0 0 0 0.0380649 0 0 0 0 0 0 0 0 0 0.0626999 0 0 0 0 0 0 0 0 0.0738474 0 0.132213 0 0 0.0613788 0 0 0 0.123188 0 0.0505499 0.241023 0 0 0 0.291114 0.277588 0 0 0 0 0 0 0 0.141324 0.179742 0.114698 0 0.137051 0 0.19153 0 0 0 0.163113 0.0549919 0.124301 0 0.0520613 0 0.0343362 0 0 0 1
0 0.234216 0 0 0 0 0 0 0 0.130635 0.222683 0 0 0 0 0 0.115044 0 0.150269 0.293036 0.407395 0 0 0 0 0.0804103 0.141295 0 0 0 0 0 0 0 0.125523 0 0 0.063166 0 0 0 0.221525 0 0 0 0 0.241671 0 0 0 0.125875 0 0 0 0 0 0 0 0 0 0.118289 0.241157 0.10565 0 0 0 0 0 0.141944 0 0.137324 0.336621 0 0 0 0 0.12395 0.0606408 0 0 0.090787 0 0.221047 0.134692 0.132063 0 0.0615195 0 0.103851 0 0 0.105981 0.119777 0.100205 0 0 0.0661729 0 0.139311 0 1
0 0 0 0 0 0 0 0 0 0.0842276 0 0.0699562 0.0582676 0 0 0.130697 0.370877 0.201378 0 0 0 0.0655855 0 0 0 0.155535 0.273302 0 0 0 0 0 0.19647 0 0 0.406512 0.094597 0 0 0 0.0946236 0.142829 0 0 0.0892393 0 0.155819 0 0.223685 0 0 0 0 0 0 0 0 0 0.0770525 0 0 0 0 0 0 0 0.125624 0 0 0.153857 0 0 0 0 0 0 0 0.469181 0 0.13728 0 0 0 0 0.170296 0 0.118995 0 0.0669584 0 0.06756 0.0683316 0 0 0.06469 0 0.127996 0 0 0 1
0.0851333 0.178252 0 0.0973782 0 0.0888445 0 0 0.0849966 0 0 0.16515 0.206334 0 0 0 0 0.118851 0 0 0 0.154832 0 0 0 0.18359 0 0 0 0 0 0 0 0 0 0.11996 0 0.0961456 0.0933783 0 0 0.0842964 0 0 0.105336 0 0.0919626 0 0 0.0980878 0.0957978 0 0 0.102855 0 0 0.0799073 0 0 0.308442 0 0 0 0.0931592 0 0 0.0741419 0.0883776 0 0.0908048 0 0.0853958 0 0 0 0 0 0.230755 0 0.0810214 0.0690939 0 0.168229 0 0.351775 0 0.0936395 0 0.158073 0 0 0.161314 0.0911571 0 0.0763588 0.256943 0.453251 0.0726903 0 0 1
0.089206 0 0.167325 0 0 0 0 0 0.178126 0.104177 0 0 0 0 0.183599 0.0808263 0.275231 0 0.719002 0 0 0 0 0 0 0.0641243 0.112678 0 0 0 0.0971609 0 0 0 0 0 0.058501 0.0503726 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.0943316 0 0 0 0 0 0 0 0 0.0951489 0 0 0 0 0 0 0 0 0 0 0 0 0.0881384 0 0.0526577 0 0 0 0 0.20812 0.417807 0.0845158 0 0 0 0 0.0527705 0 0 0 1
0 0 0 0 0 0 0 0 0 0 0 0.320558 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.324947 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.420473 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.388137 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.613643 0 0 0 0 0.29605 0 0 0 0 0 0 0
0.125168 0 0 0 0 0 0 0 0.249934 0 0.24917 0 0 0 0 0.22682 0.128728 0 0 0 0 0 0 0 0 0 0 0 0 0 0.13633 0 0 0 0 0 0.0820847 0.141359 0 0.306687 0 0 0 0 0 0 0 0 0 0 0.422542 0 0 0 0 0 0 0.427664 0 0 0 0 0 0 0 0.151768 0 0.389813 0 0 0 0 0 0 0 0 0 0.0678538 0 0 0 0 0 0 0.147771 0 0 0.150803 0 0 0 0.118587 0 0.112124 0 0.125924 0 0 0.155882 0 1
0 0 0 0.145959 0 0 0.156973 0 0.254801 0 0 0 0 0 0.131315 0 0 0 0 0.167139 0 0 0 0 0 0 0 0 0 0 0.138984 0 0 0 0 0 0.0836831 0.216167 0 0 0.334827 0 0 0.302772 0 0 0 0.272476 0 0 0.28718 0.156941 0 0 0 0 0.119772 0 0.136326 0 0 0 0 0 0.13541 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.310692 0 0 0 0.0753244 0 0 0 0.118467 0 0 0 0.136634 0 0 0.385128 0.226458 0 0 0 5
0 0 0 0 0 0 0 0 0 0 0.238957 0.11643 0.193953 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.261483 0 0 0 0.134697 0 0.0787202 0.338912 0.263326 0 0.157485 0 0 0.142408 0.148523 0 0 0.128158 0.124095 0.138303 0 0 0 0.145025 0 0 0 0 0.128241 0 0 0 0 0 0 0 0.10454 0 0.152318 0 0 0 0 0 0 0 0 0.26029 0.132219 0 0.097422 0 0 0 0.354286 0 0.330078 0 0 0.140025 0 0.113726 0 0 0 0.241525 0.0710091 0 0 0 5
0 0.0585877 0 0 0 0.175208 0.103264 0.189319 0 0 0 0 0.0678176 0 0 0 0 0 0 0 0.203814 0.076335 0 0.0989053 0.278952 0 0 0 0 0 0 0.330147 0 0 0 0 0.0550507 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.516216 0.103931 0 0 0 0 0 0 0 0 0 0.0792829 0.183717 0.178159 0 0 0.0871438 0 0.268611 0 0 0 0 0 0.217822 0 0.182027 0.184928 0 0 0.259949 0 0 0.148656 0 0.0461661 0 0 0 0.0786331 0 0 0.0751969 0 0 0 0.143351 0 0 0
[2873 rows x 101 columns]
about account after again also amount another asked back balance bank because been being call called card charges check closed collection company complaint contacted could credit credit card credit report customer date days debt dispute email even fraud from have have been help home information interest just know late letter loan made make money month months more mortgage name never number only other over paid payment payments phone please received report request said same sent service should since stated still that that they their them then there these they they have this through time times told were what when which will with would years your target_var
--------- --------- --------- --------- -------- --------- --------- --------- ------- --------- --------- --------- -------- --------- --------- --------- -------- --------- -------- --------- ------------ --------- ----------- ----------- --------- --------- ------------- --------------- ---------- --------- --------- --------- --------- -------- --------- -------- --------- --------- ----------- --------- ------ ------------- ---------- --------- --------- ------ -------- -------- --------- -------- -------- -------- -------- --------- ---------- --------- --------- -------- --------- --------- --------- -------- --------- ---------- --------- --------- ---------- -------- --------- --------- --------- ------ --------- --------- -------- -------- -------- --------- ----------- --------- --------- -------- --------- --------- --------- ----------- --------- --------- --------- --------- -------- --------- -------- --------- --------- --------- --------- --------- -------- -------- ------------
0 0.664694 0 0 0 0 0 0 0 0.092684 0.0789954 0.0769798 0.320588 0.0860991 0.0816723 0.143819 0 0.110798 0.106614 0.103953 0 0 0 0 0 0 0 0 0.102198 0.0966585 0 0 0 0 0 0 0 0.313708 0.0870512 0.0972303 0 0.0785846 0 0 0.196398 0 0 0 0 0 0 0 0 0 0 0 0.074493 0 0 0 0 0.171098 0 0 0 0 0 0 0 0.0846521 0 0 0.189777 0.0932083 0.174249 0 0 0 0 0 0 0 0.15683 0.0955626 0.0468485 0 0 0 0 0 0.074343 0 0 0 0 0.0798443 0.0469489 0.13553 0 0 3
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.535405 0.37084 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.511112 0 0 0 0 0 0 0 0 0 0.474235 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.299474 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 0 0.09977
我的控制台会自动打印数据以及我不理解的代码运行。在他的案例4中,同时发出其他命令(如)将导致多次打印数据
h2o_train_df.types
在数据类型下方,您可以看到不应打印的数据点
我在mac上使用pycharm
这和h2o团簇有关吗
如果我运行main.py,一切正常
我们将非常感谢您的帮助
{'about': 'real', 'account': 'real', 'after': 'real', 'again': 'real', 'also': 'real', 'amount': 'real', 'another': 'real', 'asked': 'real', 'back': 'real', 'balance': 'real', 'bank': 'real', 'because': 'real', 'been': 'real', 'being': 'real', 'call': 'real', 'called': 'real', 'card': 'real', 'charges': 'real', 'check': 'real', 'closed': 'real', 'collection': 'real', 'company': 'real', 'complaint': 'real', 'contacted': 'real', 'could': 'real', 'credit': 'real', 'credit card': 'real', 'credit report': 'real', 'customer': 'real', 'date': 'real', 'days': 'real', 'debt': 'real', 'dispute': 'real', 'email': 'real', 'even': 'real', 'fraud': 'real', 'from': 'real', 'have': 'real', 'have been': 'real', 'help': 'real', 'home': 'real', 'information': 'real', 'interest': 'real', 'just': 'real', 'know': 'real', 'late': 'real', 'letter': 'real', 'loan': 'real', 'made': 'real', 'make': 'real', 'money': 'real', 'month': 'real', 'months': 'real', 'more': 'real', 'mortgage': 'real', 'name': 'real', 'never': 'real', 'number': 'real', 'only': 'real', 'other': 'real', 'over': 'real', 'paid': 'real', 'payment': 'real', 'payments': 'real', 'phone': 'real', 'please': 'real', 'received': 'real', 'report': 'real', 'request': 'real', 'said': 'real', 'same': 'real', 'sent': 'real', 'service': 'real', 'should': 'real', 'since': 'real', 'stated': 'real', 'still': 'real', 'that': 'real', 'that they': 'real', 'their': 'real', 'them': 'real', 'then': 'real', 'there': 'real', 'these': 'real', 'they': 'real', 'they have': 'real', 'this': 'real', 'through': 'real', 'time': 'real', 'times': 'real', 'told': 'real', 'were': 'real', 'what': 'real', 'when': 'real', 'which': 'real', 'will': 'real', 'with': 'real', 'would': 'real', 'years': 'real', 'your': 'real', 'target_var': 'int'}
about account after again also amount another asked back balance bank because been being call called card charges check closed collection company complaint contacted could credit credit card credit report customer date days debt dispute email even fraud from have have been help home information interest just know late letter loan made make money month months more mortgage name never number only other over paid payment payments phone please received report request said same sent service should since stated still that that they their them then there these they they have this through time times told were what when which will with would years your target_var
--------- --------- --------- --------- --------- --------- --------- -------- --------- --------- -------- --------- --------- ------- --------- --------- -------- --------- -------- -------- ------------ --------- ----------- ----------- --------- --------- ------------- --------------- ---------- ------ --------- -------- --------- ------- -------- -------- --------- --------- ----------- -------- --------- ------------- ---------- -------- --------- ------ --------- -------- -------- --------- --------- -------- -------- -------- ---------- --------- --------- -------- --------- -------- --------- -------- --------- ---------- -------- -------- ---------- --------- --------- --------- -------- --------- --------- -------- ------- -------- ------- --------- ----------- --------- --------- -------- --------- -------- --------- ----------- --------- --------- --------- -------- --------- --------- --------- --------- --------- -------- --------- --------- -------- ------ ------------
0 0.0405105 0.0544367 0 0.0575313 0 0 0 0 0.0677847 0 0 0 0 0.0597313 0.105183 0.358169 0 0 0 0 0.105564 0 0 0.0642941 0.250343 0.146632 0.283801 0 0 0 0 0.474345 0 0 0 0.0380649 0 0 0 0 0 0 0 0 0 0.0626999 0 0 0 0 0 0 0 0 0.0738474 0 0.132213 0 0 0.0613788 0 0 0 0.123188 0 0.0505499 0.241023 0 0 0 0.291114 0.277588 0 0 0 0 0 0 0 0.141324 0.179742 0.114698 0 0.137051 0 0.19153 0 0 0 0.163113 0.0549919 0.124301 0 0.0520613 0 0.0343362 0 0 0 1
0 0.234216 0 0 0 0 0 0 0 0.130635 0.222683 0 0 0 0 0 0.115044 0 0.150269 0.293036 0.407395 0 0 0 0 0.0804103 0.141295 0 0 0 0 0 0 0 0.125523 0 0 0.063166 0 0 0 0.221525 0 0 0 0 0.241671 0 0 0 0.125875 0 0 0 0 0 0 0 0 0 0.118289 0.241157 0.10565 0 0 0 0 0 0.141944 0 0.137324 0.336621 0 0 0 0 0.12395 0.0606408 0 0 0.090787 0 0.221047 0.134692 0.132063 0 0.0615195 0 0.103851 0 0 0.105981 0.119777 0.100205 0 0 0.0661729 0 0.139311 0 1
0 0 0 0