donnemartin/data-science-ipython-notebooks

pandas - Working with Strings

Open

#60 opened on 2018年10月20日

GitHub で見る
 (3 comments) (0 reactions) (0 assignees)Python (26,379 stars) (7,706 forks)batch import
bughelp wanted

説明

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.

コントリビューターガイド

pandas - Working with Strings · donnemartin/data-science-ipython-notebooks#60 | Good First Issue