1. सीखें
  2. /
  3. पाठ्यक्रम
  4. /
  5. Joining Data with pandas

Connected

अभ्यास

How many rows with a left join?

Select the true statement about left joins.

Try running the following code statements:

  • left_table.merge(one_to_one, on='id', how='left').shape
  • left_table.merge(one_to_many, on='id', how='left').shape

Note that the left_table starts out with 4 rows.

निर्देश

50 XP

संभावित उत्तर