Question
Which Python library is primarily used for data
manipulation and analysis, offering tools for reshaping, merging, and aggregating datasets?Solution
The pandas library in Python is essential for data manipulation and analysis, offering powerful functions to handle data structures like DataFrames and Series. It allows users to perform operations such as filtering, reshaping, merging, and aggregating data, making it indispensable for data analysts. With pandas, data can be cleaned, organized, and prepared efficiently, allowing for transformations necessary for deeper analysis. Its versatile functionalities support complex data workflows, making it one of the most widely used libraries in data science and analytics. The other options are incorrect because: • Option 1 (NumPy) is primarily for numerical operations and lacks high-level data manipulation tools. • Option 3 (Matplotlib) is for data visualization, not data manipulation. • Option 4 (Seaborn) extends Matplotlib’s capabilities but focuses on visualization. • Option 5 (scikit-learn) is used for machine learning, not data manipulation.
Which traversal of binary tree gives nodes in sorted order?
Given the IP address 192.168.10.5 and the subnet mask 255.255.255.240 , what is the range of valid host addresses in this subnet?
What will be the output of the following Java snippet?
class A {
   public void display() {
       System.out.pr...
Which of the following is a key objective of the Requirement Analysis phase in the Software Development Lifecycle (SDLC)?
Union-Find with path compression achieves nearly constant time because its complexity is:
Which of the following is a common issue that can arise from poorly designed recursive functions?
Which of the following is an effective countermeasure against Cross-Site Scripting (XSS) attacks in a web application?
Which of the following best describes the mechanism of a Cross-Site Scripting (XSS) attack?
Which tree traversal gives nodes in non-decreasing order for a BST?
Which of the following scenarios violates Boyce-Codd Normal Form (BCNF) in a relational schema?