Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

comprehension list iloc pandas

mat = [[1,2], [3,4], [5,6]]
[x for row in mat for x in row if x%2==1]
Source by www.listendata.com #
 
PREVIOUS NEXT
Tagged: #comprehension #list #iloc #pandas
ADD COMMENT
Topic
Name
8+9 =