donnemartin/data-science-ipython-notebooks

pandas - Working with Strings

Offen

#60 geöffnet am 20.10.2018

 (3 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Python (8.029 Forks)batch import
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.

Contributor Guide