Which of the following package is used for tidy data?

tidyr
souryr
NumPy
all of the mentioned

The correct answer is A. tidyr.

tidyr is a package for tidying data in R. It provides a number of functions for reshaping, pivoting, and merging data frames. tidyr is part of the tidyverse, a collection of packages that are designed to work together to make data analysis easier.

The other options are incorrect.

  • souryr is a package for reading and writing data from and to csv files.
  • NumPy is a package for scientific computing.

tidyr is the best option for tidying data because it is designed specifically for that purpose. It provides a number of functions that are not available in other packages, and it is part of the tidyverse, which makes it easy to use with other packages.