# 8.3 Excel / Power BI शी संबंध जोडून समजून घेऊ

Source: https://ravindrabagale.com/mr/datascience/ch08-combining-data/8-3-mental-map-to-excel-power-bi.html
Language: mr (Marathi with English technical terms)

| काम | Excel | Power BI | pandas

 | Store वरून manager आणायचा | XLOOKUP | Relationship + related columns | merge

 | अनेक महिन्यांच्या rows जोडायच्या | Copy-paste / Power Query append | Append queries | concat

Excel ribbon किंवा Power BI model view शिकण्यासाठी संबंधित course उघडा. इथे तीच कल्पना pandas मध्ये कशी वापरायची हे शिकतो.

Practice

product_id, category, unit_price असलेली products table करा. Orders मध्ये product_id जोडा आणि products चा left merge करा. Category नसलेल्या orders ची list काढा.

Recap

concat rows जोडतो; merge keys वर tables जोडतो.

Fact आणि dimension जोडताना left join उपयोगी; NaNs तपासा.

Merge आधी duplicate keys तपासा.

आता pandas मध्ये data cleaning करूया.

रवींद्र बागले यांची tip

Join यशस्वी झाला म्हणजे data बरोबर झाला असं नाही. Row count आणि न जुळलेल्या keys हे दोन्ही तपासा.
