apple net revenue vs net income
apple net revenue vs net income
The user wants to see Apple's net revenue vs net income. This is a straightforward chart comparison. Let me load the data for Apple (AAPL) - both metrics are income statement series.
I should load totalrevenue and netincome for AAPL, then chart them. Since financial statement series can be annual or quarterly, I should include interval. The user didn't specify, so annual is the default for company financials.
Let me load both metrics in one call.
I'll load Apple's total revenue and net income, then chart them for comparison.
I have annual data from FY2021 through FY2025, and quarterly data through Mar 2026. The user just asked for "net revenue vs net income" without specifying period. Let me chart both annual since that's the default for company financials. I'll show both series on a chart.
The data shows that AAPL has 5 annual rows. Let me use show_chart with multiple series.
I have Apple's data loaded. Now I'll chart both series on the annual timeframe (FY2021–FY2025).
The netincome series is ambiguous because it exists in both cash flow and income statement. The user wants net income from the income statement context. Let me specify the interval more explicitly. Actually, the error says I need to include interval - I did include interval. Let me re-read... The error says "Series AAPL netincome is ambiguous; include interval." It seems even with interval specified, it's still ambiguous because there are two net_income series.
Looking at the options, both are annual interval but different statementtypes. I should use the incomestatement one since "net income" typically refers to income statement. But the tool doesn't accept statement_type. Let me try using the exact series name "netIncome" or compute the chart manually from the loaded data.
Actually, looking at this more carefully, the loaded data already has netincome in the DataFrame (df503). I should compute and create a custom chart from that DataFrame.
Let me create a wide DataFrame with date, totalrevenue, and netincome columns, then chart it.
The net_income series exists in both income statement and cash flow. I'll compute a custom chart from the loaded data, picking the income statement version.
[Response aborted]