Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Open an AI platform jupyter notebook and load the invoices and vendors data from big query in to separate pandas dataframes. 1. From the invoices

Open an AI platform jupyter notebook and load the invoices and vendors data from big query in to separate pandas dataframes.

1. From the invoices dataframe, display the invoice_id, invoice_total and vendor_id columns from records where the invoice_total is less than 100 dollars

2. Join the invoices and vendors dataframes and then group by based on vendor_state and vendor_city and provide sum of invoice_total per vendor_state and vendor_city.

Hint use groupby(['vendor_state', 'vendor_city'])

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Systems Design Implementation And Management

Authors: Carlos Coronel, Steven Morris

14th Edition

978-0357673034

More Books

Students also viewed these Databases questions

Question

How effective have these groups been in the past?

Answered: 1 week ago

Question

What are their reputations?

Answered: 1 week ago

Question

How serious a response is warranted to this situation?

Answered: 1 week ago