donnemartin/data-science-ipython-notebooks
pandas - Working with Strings
Offen
#60 geöffnet am 20.10.2018
bughelp wanted
Repository-Metriken
- Stars
- (29.313 Sterne)
- PR-Merge-Metriken
- (PR-Metriken ausstehend)
Beschreibung
In the code cell 3: data = ['peter', 'Paul', None, 'MARY', 'gUIDO'] data.map(lambda s: s.capitalize()) was changed to [s.capitalize() for s in data if s!= None ] and now the code woks fine.