donnemartin / donnemartin/data-science-ipython-notebooks
capitalize error
Open
- Dominant language
- Python
- Stars
- 29.3k
- Forks
- 8k
- PR merge metrics
- No merged PRs in 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.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.