Question
Which Python library is primarily used for data
manipulation and cleaning?Solution
The pandas library is the go-to tool for data manipulation and cleaning in Python. It provides powerful, flexible data structures like DataFrames and Series that make handling structured data (such as tables and spreadsheets) very efficient. Pandas allows you to easily manipulate, clean, and preprocess data by offering features like handling missing values, merging datasets, filtering data, and performing group-by operations. It's a vital tool in data analysis and is widely used alongside other libraries like NumPy for numerical computations and Matplotlib/Seaborn for visualization. The other options are incorrect because: • Option 1 (NumPy) is primarily used for numerical operations and is excellent for working with arrays, but it does not offer data manipulation functions specific to tables or datasets. • Option 3 (Matplotlib) is used for data visualization, not data manipulation. • Option 4 (Seaborn) is a statistical visualization library built on top of Matplotlib, useful for creating beautiful plots, but not focused on data cleaning. • Option 5 (Scikit-learn) is a machine learning library that focuses on model building and not data manipulation.
- In each of the following questions, a statement is given with a single blank. Choose the most suitable option which fits the blank in the most meaningful a...
Stakeholders over the world stressing the value of free trade
Drug prices have gone ………… the ………… of the common man.
Each sentence has one blank. Choose the most appropriate word to make the sentence grammatically and contextually correct.
The sudden reversal ...
Her biography ________ that she was not as rich as everyone thought.
Tomorrow, for the exam, questions will be asked from our Geography textbook, so let’s read ______________ book.
Fill in the blanks using the correct tense of the verbs given in brackets and choose the right answer from among the options given below them.
- Given below is a sentence with one blank. Below the sentence are given four words among which one word might fill the blank. If none of the words fill the ...
Children must be given a chance to taste food from __________ cuisines, and one of the best ways to do it is by travelling.
(A) different (B) di...
In the following sentences, two words are omitted. Choose the correct option that can fill the blanks both contextually and grammatically.
The ...