Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

how to create frequency table in python

table = {}
total = 0 
    
for row in dataset:
	total += 1
	value = row[index]
	if values in table: 
		table[value] += 1
	else: 
		table[value] = 1
 
PREVIOUS NEXT
Tagged: #create #frequency #table #python
ADD COMMENT
Topic
Name
4+1 =