Question
1) For a pair of strings where some of the words are shortened, e.g., Rich J. Smith vs Richard James Smith, which of the following
1) For a pair of strings where some of the words are shortened, e.g., Rich J. Smith vs Richard James Smith, which of the following distance measures is the best choice to measure the similarity of the two strings for entity matching purpose?
a) Edit distance
b) Affine gap distance
c) Soundex
d_Q-gram distance
2) For a longitudinal study over multiple years, data for each year are saved in a separate file. The files have the same structure. Which of the following approaches will allow you to merge the data of the entire study period in a single data frame? Choose all that apply
A) Read each file into a data frame; combine the dataframes using pandas.concat with the axis parameter set to 0.
B) Read each file into a data frame; combine the dataframes using pandas.concat with the axis parameter set to 1.
C) Combine files into a single file using Linux/Unix command cat, then read the file into a pandas dataframe.
d) Combine files into a single file using Linux/Unix command paste, then read the file into a pandas dataframe.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started