1. Learn
  2. /
  3. Courses
  4. /
  5. Kết hợp dữ liệu với pandas

Connected

Exercise

Có bao nhiêu hàng với left join?

Chọn phát biểu đúng về left join.

Hãy thử chạy các câu lệnh sau:

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

Lưu ý rằng left_table ban đầu có 4 hàng.

Instructions

50 XP

Possible answers