below startswith query runs fine in my PyCharm environment (Python 2.7):
df['starts_with'] = map(lambda x: df.startswith('Wash'), df['CTYNAME'])
When running the same in a Jupyter Notebook I am receiving below value in my 'starts_with' column:
'<map object at 0x7fbfe6954470>'
I understand that it might be a purely Jupyter issue, however, is there a different approach to this query to get around the error in Jupyter? 'starts_with' shall be used for a boolean mask in a next step.
Best, P