Question: Computer science, python 2.3) (6 points) Suppose that we define a dataframe as shown below: people- + 1d1.2.3.4.5.6.71 first [A1. Helis. None, Mahn'ot. Vell. Ein'.

Computer science, python
Computer science, python 2.3) (6 points) Suppose that we define a dataframe

2.3) (6 points) Suppose that we define a dataframe as shown below: people- + 1d1.2.3.4.5.6.71 first [A1. Helis. None, Mahn'ot. "Vell. Ein'. 'Aysel. ust' [+Gene'. 'Sen'. "Yilsa. Kacar. None None. 'Yawar) 3 df - pd. DataFrame (people) 2.3a [3 points]) Complete the one line code below to drop rows which contain any missing values: dfdf..... 2.3b (3 points]) After dropping which values in thd id column will be kept? 2.4 ) [4 points) Give a regular expression that can extract Visa and Mastercard credit card numbers frou a string. A Visa credit card number is any sequence of 16 digits that starts with a 4, and a Mastercard any sequence of 15 digits that starts with 5. Assume there are no dashes or other extra characters in a crec card number. For example, your regex should match 4123713131673827 and 5612512165638672. Just g the regex pattern, no need to write regex functions

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!