Question: Exercise #1 Modify the cities table by adding a new boolean column that is True if and only if both of the following are True:
Exercise #1 Modify the cities table by adding a new boolean column that is True if and only if both of the following are True: The city is named after a saint. The city has an area greater than 50 square miles. TODO: Write your code in the cell below. Note: Boolean Series are combined using the bitwise, rather than the traditional boolean, operators. For example, when performing logical and use instead of and Hint: "San' in Spanish means 'saint." Your code here
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
