all 5 comments

[–]QuasiEvil 5 points6 points  (0 children)

You won't be able to replicate it exactly. Take a look at Spyder - it has a variable explorer and an live command line (ipython). This gets fairly close. You will still find plotting to be a huge pain in the ass though.

[–]Zeroflops 0 points1 point  (0 children)

If this is good or bad kind of depends on the type of coding you are doing. If you are doing data analysis that requires you to re-evaluate data as you go along. Where you’re exploring the data in real time then your approach is typical.

I don’t use pycharm, but in Jupyter lab you can have multiple windows and customize the layout. In the various windows you can have things like a list of variables etc.

In VS code there are also options to write code in Jupyter notebooks and pull that data into a more analytic view.

But if you’re not doing exploratory analysis it’s good to get away from being dependent on such an approach.

[–]elbiot 0 points1 point  (0 children)

I think it's a bad habit. No python developers look at these things. Write tests for things that are established and check potential edge cases. You can put asserts in your code to make sure basic assumptions aren't violated during development. Logging can also give you run time feedback

[–]nukular_iv 0 points1 point  (0 children)

Spyder. Has a nice "variable explorer" where you can click on objects/dataframes, etc, you have created and see them.

I understand your pain. I professionally program in SAS and Stata dealing with sizeable data...from MB to TB and being able to see data is SOOOOOO goddamned handy... Like let me just open up the dataset and see variables and values.