Sign Up

Sign In

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Sorry, you do not have a permission to ask a question, You must login to ask question.

PyCharm: Process finished with exit code 0

  • 4

I am new to PyCharm and I have ‘Process finished with exit code 0’ instead of getting (683, 11) as a result (please see attachment), could you guys help me out please? Much appreciate it!

Best regards,

enter image description here


1 Answer

  1. That is good news! It means that there is no error with your code. You have run it right through and there is nothing wrong with it. Pycharm returns 0 when it has found no errors (plus any output you give it) and returns 1 as well as an error message when it encounters errors.

    Editors and scripts do not behave like the interactive terminal, when you run a function it does not automatically show the the result. You need to actually tell it to do it yourself.

    Generally you just print the results.

    If you use print(data.shape) it should return what you expect with the success message Process finished with exit code 0.

    • 0

Sorry, you do not have a permission to answer to this question.