In your notebook, you want to load a CSV file into a DataFrame df. This CSV is in the path 'data/payments.csv' relative to the notebook. Which command do you use? Select an answer: df = pd.read_excel('payments') df = pd.read_csv('data/payments.csv') df = csv('data/payments.csv') df = read_csv('payments.csv')

A+ Guide To It Technical Support
10th Edition
ISBN:9780357108291
Author:ANDREWS, Jean.
Publisher:ANDREWS, Jean.
Chapter18: Macos, Linux, And Scripting
Section: Chapter Questions
Problem 12TC
icon
Related questions
Question

In your notebook, you want to load a CSV file into a DataFrame df. This CSV is in the path 'data/payments.csv' relative to the notebook. Which command do you use?

Select an answer:

  • df = pd.read_excel('payments')

  • df = pd.read_csv('data/payments.csv')

  • df = csv('data/payments.csv')

  • df = read_csv('payments.csv')

Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Linux
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
A+ Guide To It Technical Support
A+ Guide To It Technical Support
Computer Science
ISBN:
9780357108291
Author:
ANDREWS, Jean.
Publisher:
Cengage,
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT
LINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.
LINUX+ AND LPIC-1 GDE.TO LINUX CERTIF.
Computer Science
ISBN:
9781337569798
Author:
ECKERT
Publisher:
CENGAGE L