我刚刚从R转到Python。在R中,您可以使用
#new section####
to have the 'new section' as title in the script section list. Then, you could easily find that block of script by hitting this title within "Jump to menu" (please see figure). In this figure, the title is "reading data before 2013".
I have tried to find my answer here https://confluence.jetbrains.com/display/PYH/Code+folding and here https://www.jetbrains.com/help/pycharm/code-folding.html
But I am lost in terms folding, class and ....
Can you please let me know a simple way to mimic this option in Pycharm?