मराठी

Mention any two main points of difference between Series and DataFrame of Python Pandas. - Informatics Practices

Advertisements
Advertisements

प्रश्न

Mention any two main points of difference between Series and DataFrame of Python Pandas.

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

उत्तर

S.N. Series DataFrame
1. A one-dimensional labeled structure that stores data of a single type, similar to one column in Excel. A two-dimensional labeled data structure with rows and columns, similar to a table in SQL or Excel.
2. Has only one column along with an index. Contains multiple columns with rows and an index.
3. Stores homogeneous data, meaning all values are of the same data type. Can store heterogeneous data, with different data types across columns.
4. Uses a single index for accessing values. Uses both row and column indices to access data.
shaalaa.com
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
2024-2025 (March) Set 4

APPEARS IN

Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×