(a) Create a small data frame representing a database of films. It should contain the fields title, director, year, country, and at least three films. (b) Create a second data frame of the same format as above, but containing just one new film. (c) Merge the two data frames using rbind(). (d) Try sorting the titles using sort(): what happens?

Np Ms Office 365/Excel 2016 I Ntermed
1st Edition
ISBN:9781337508841
Author:Carey
Publisher:Carey
Chapter2: Formatting Workbook Text And Data
Section: Chapter Questions
Problem 1.13CP
icon
Related questions
Question
Python
(a) Create a small data frame representing a database of films. It should contain the fields title, director, year, country, and at least three films.
(b) Create a second data frame of the same format as above, but containing
just one new film.
(c) Merge the two data frames using rbind().
(d) Try sorting the titles using sort(): what happens?
Transcribed Image Text:(a) Create a small data frame representing a database of films. It should contain the fields title, director, year, country, and at least three films. (b) Create a second data frame of the same format as above, but containing just one new film. (c) Merge the two data frames using rbind(). (d) Try sorting the titles using sort(): what happens?
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Introduction to computer system
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage