मराठी

How is the difference between a DataFrame and 2-D array.

Advertisements
Advertisements

प्रश्न

How is the difference between a DataFrame and 2-D array.

फरक स्पष्ट करा
Advertisements

उत्तर

Feature DataFrame (Pandas) 2-D Array (NumPy)
Definition A DataFrame is a two-dimensional labelled data structure. A 2-D array is a two-dimensional collection of elements arranged in rows and columns.
Data Type Can store different data types in different columns. Usually stores elements of the same data type.
Row & Column Labels Has customisable row and column labels. Uses only numeric indexes.
Operations Supports data analysis, filtering, sorting, and grouping. Mainly supports numerical and mathematical operations.
Library A DataFrame uses the Pandas library. A 2-D array uses the NumPy library.
Main Use Used for data analysis and handling tabular data. Used for numerical and scientific computations.
shaalaa.com
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 2: Data Handling using Pandas - I - Exercise [पृष्ठ ६०]

APPEARS IN

एनसीईआरटी Informatics Practices [English] Class 12
पाठ 2 Data Handling using Pandas - I
Exercise | Q 2. | पृष्ठ ६०
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×