donnemartin/data-science-ipython-notebooks
Vedi su GitHubpandas - Working with Strings
Open
#60 aperta il 20 ott 2018
bughelp wanted
Metriche repository
- Star
- (26.379 star)
- Metriche merge PR
- (Nessuna PR mergiata in 30 g)
Descrizione
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.