Ravindra Bagale · Data Scienceसर्व coursesया course चे lessonsशोधाEnglish

Data Science · मराठी आवृत्ती

5.2 head, info आणि dtypes ने data तपासा

रवींद्र बागले यांच्या course वर आधारित · सहज मराठीत explanation

Jupyter मध्ये steps

  1. मागच्या lesson मधला DataFrame code run करा.
  2. df.head() — पहिल्या 5 rows; इथे फक्त 3 असल्यामुळे तिन्ही दिसतील.
  3. df.shape — (3, 7) म्हणजे 3 rows, 7 columns.
  4. df.info() — non-null counts आणि dtypes.
  5. df.dtypes — फक्त column types.
  6. df.describe() — qty आणि amount यांची numeric summary.
  7. df["city"] किंवा df.city — एक Series.

या उदाहरणात amount आणि qty numeric integers आहेत. Text columns चा dtype pandas version नुसार object किंवा string दिसू शकतो. Cancelled row अजूनही आहे; filtering Chapter 6 मध्ये करू.