Sunday 27 September 2020

Python Program to Split a large list into list of smaller lists

There are requirements where we have to split a large list into a set of smaller lists. This is a common requirement in places where we use parallel processing. Here is a sample program in python to split a larger list into a set of smaller lists.


No comments:

Post a Comment

How to check the memory utilization of cluster nodes in a Kubernetes Cluster ?

 The memory and CPU utilization of a Kubernetes cluster can be checked by using the following command. kubectl top nodes The above command...