Summer Deals - hours only!Up to 80% off on all courses and bundles.-Close
Creating data frames
Summary
18. Counteroffers

Instruction

All right, it's now time to practice what you learned in this part of the course. Here's your first exercise!

Exercise

Let's create a simple data frame called counteroffers. It will contain information about client's counteroffers for particular house offers and it will consist of three columns:

  • client_id - the id of a client that is interested in buying a given house.
  • ad_code - the ad_code to which a client refers to.
  • offered_price - the price that a given client offers.

Transform the table presented below into a data frame:

client_id ad_code offered_price
45325 522537 110000
54932 11558174 105000
29312 12159 75000

Stuck? Here's a hint!

Remember that the order of values matters!