Do you want to run the code many times after just clicking run once? If so then I think grouping the whole program in one for loop would do the task.
Souvik python dev On Thu, Apr 16, 2020, 4:57 PM hanan lamaazi <hanan.lama...@gmail.com> wrote: > Dear All, > > I just start the self learning of python, and I tried to use it in jupyter > notebook. I work on real dataset and I used pandas for that. Now my problem > is I developed two separate code but dependent the first one should run to > give me samples from my dataset and do the clustering (I use Kmeans) and > the second should select data from each cluster provided by the first code. > > My question is: > how can I run both code for many times without pushing the bottom "run" > each time? make it automatic > > > I tried to use Ipyparallel but seems that I don't know how to use it > > > Thank you > -- > https://mail.python.org/mailman/listinfo/python-list > -- https://mail.python.org/mailman/listinfo/python-list