1) http://stackoverflow.com/questions/4842956/python-how-to-remove-empty-lists-from-a-list … is better 2) you should be using NumPy/pandas for most purposes
#Python: Removing empty lists from mixed nested lists http://emilkirkegaard.dk/en/?p=6183
-
-
-
Hours spent on writing stupid Python code and all I got was criticism on Twitter! ;)
-
More seriously, the data must be structured like that, so I don't see how numpy/pasdas helps here.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.