DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
how to get rid of all null values in array python
mylist = [1, 2, 3, '', 4] mylist = [i for i in mylist if i != '']
PREVIOUS
NEXT
Tagged:
#rid
#null
#values
#array
#python
ADD COMMENT
Topic
COMMENT
Name
5+6 =
Submit