Consider a dataframe td_new. What does executing the following R Code acheive: grep("[B][u][s][h]", td_new$movie_title, value = T)单项选择题
A
This code will find instances (such as lines, cells, etc.) in the column movie_title that have the letter "T" and will replace it with "Bush".
B
This code will find instances (such as lines, cells, etc.) in the column movie_title, that have any combination of the word "BUSH" such as BUSH, USHB, USBH, etc.
C
This code will find instances (such as lines, cells, etc.) in the column movie_title, that have the word "Bush".
D
This code will find instances (such as lines, cells, etc.) in the column movie_title, that have the word "Bush", and will replace these with "T".
登录即可查看完整答案
我们收录了全球超50000道真实原题与详细解析,现在登录,立即获得答案。
类似问题
Assume a list of soccer scores are given with the first team's score, followed by a full stop character, followed by the second team's score (e.g. 4.2). We wish to find all scores representing a draw (i.e. both teams have an equal score). Which of the following regular expressions would we use:
Assume all University of Melbourne subject codes contain four capital letters followed by five numbers. A regular expression for finding subject codes is:
L(r) = { w E { a , b }* : w starts and ends with the same symbol } r = ? Pick all correct answers.
Pick all true statements about REGEXs:
更多留学生实用工具
希望你的学习变得更简单
加入我们,立即解锁 海量真题 与 独家解析,让复习快人一步!