donnemartin/data-science-ipython-notebooks
Ver no GitHubpandas - Working with Strings
Open
#60 aberto em 20 de out. de 2018
bughelp wanted
Métricas do repositório
- Stars
- (26.379 stars)
- Métricas de merge de PR
- (Nenhuma PRs mesclada em 30d)
Description
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.