

We select the 2nd student in the randomly shuffled list, then jump by 5 to select the 7th person in the list, and then jump by 5 to take the 12th person in the list. We select the 1st student in the randomly shuffled list, then jump by 5 to select the 6th person in the list, and then jump by 5 to take the 11th person in the list. We select the 0th student in the randomly shuffled list, then jump by 5 to select the 5th person in the list, and then jump by 5 to take the 10th person in the list. For each index aka number in range(5) - (0,1,2,3,4) - we make a group by selecting students.


Let’s say we have 15 students and want 5 random groups. append ( group )Ĭreates a sequence of numbers from 0 to the desired number of groupsĮxtracts a group of students from the list by selecting the student at whatever position in the list index represents, then jumping forward by number_of_groups spots to select a student at that position in the list, etc Make an Interactive Network Visualization with BokehĪll_groups = for index in range ( number_of_groups ): group = students all_groups. Tomotopy & Text Files (NYT Articles) - No Java required Term-Frequency Inverse Document Frequency Users’ Data: Legal & Ethical ConsiderationsĪpplication Programming Interfaces (APIs) Data Collection (Web Scraping, APIs, Social Media)
