Answered step by step
Verified Expert Solution
Link Copied!
Question
1 Approved Answer

AttributeError Traceback (most recent call last) Cell In[42], line 8 1 # Q5 2 # The data you download in dividend paid per share 3

AttributeError Traceback (most recent call last) Cell In[42], line 8 1 # Q5 2 # The data you download in dividend paid per share 3 # In the 2018-2021 period, find Total dividend paid per share by each firm. 4 # Which firm pay the most dividend per share 5 # Copy and Paste the ticker here (DON'T Type) 7 new_df5 = df3[(df3['Year'] >= 2018) & (df3['Year'] <= 2021)] ----> 8 total_dividends = new_df5.groupby(['ticker','Year']), ['Dividends'].sum() 9 total_dividends = pd.DataFrame(total_dividends) 10 #sort AttributeError: 'list' object has no attribute 'sum

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_2

Step: 3

blur-text-image_3

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

International Accounting

Authors: Frederick D. Choi, Gary K. Meek

7th Edition

978-0136111474, 0136111475

More Books

Students explore these related Accounting questions

Question

Are there diff erent kinds of memory?

Answered: 3 weeks ago

Question

When is stress positive? Give examples.

Answered: 3 weeks ago