Ipython Notebook: how to run multiple cells?

后端 未结 3 1328
借酒劲吻你
借酒劲吻你 2021-01-11 11:04

My notebook gets a bit of long, I divide it into several parts. Sometimes, I just want to run a certain part of it, i.e consecutive cells

For example, <

3条回答
  •  一向
    一向 (楼主)
    2021-01-11 11:07

    I know this is not the answer your are looking for (because its not the answer I was looking for) but for your specific case of running cells 52-54, because they are sequential and continuous, you can simply click the play button (run cell and select below) 3 times

    and it will queue those cells for running. This will work for a handful of sequential cells, but for out of sequence or really long blocks of cells, probably not the best ideal

提交回复
热议问题