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.
What is the height of an equilateral triangle if each of its sides is 4√3 cm?
- In triangle XYZ, lines XP and PF are medians of triangle XYZ and triangle XZF respectively. If the area of triangle XPF is 15 cm², calculate the area of t...
The area of a triangle is 216 cm² and the ratio of its sides is 9: 12: 15. What is the perimeter of the triangle?
- Find the vertical height from a vertex to the base of an equilateral triangle with a side measuring 12√3 cm.
In a right-angled triangle, the two perpendicular sides are 9 cm and 12 cm. What is the radius of the incircle of the triangle?
Area of a triangles with vertices at (2, 3), (-1, 0) and (2, -4) is :
If area of similar triangles ∆ ABC and ∆ DEF be 64 sq Cm and 121 sq cm and EF = 15.4 cm then BC equals
In a ∆ABC, points P, Q and R are taken on AB, BC and CA, respectively, such that BQ = PQ and QC = QR. If ∠ BAC = 75°, what is the measure of &...
In a triangle ABC, AD is the altitude from A to BC. If AD = 12 cm, AB = 13 cm, and AC = 14 cm, find the length of BC.
Find the length of AB, if ΔABC ~ ΔRQP and BC = 14 cm, QP = 7 cm and RQ = 5 cm.