V ▾ Q4: Create a Series called 'occupation' that has a numeric index and string values like this: 5281224 Accountant 4223241 Data Scientist 4233342 Manager 5012332 Security staff Then, create a DataFrame called Q4 that combines the Q1 Series with 'occupation' so that it appears like this: Name Occupation 5281224 Stina Calista Accountant 4223241 Fran Hendrix Data Scientist 4233342 Cyril Isak Manager 5012332 Danilo Norina Security staff Q1: Create a series called Q1, that has a numeric index and string values like this: 5281224 Stina Calista 4223241 Fran Hendrix 4233342 Cyril Isak 5012332 Danilo Norina W Start coding or generate with AI.

EBK JAVA PROGRAMMING
9th Edition
ISBN:9781337671385
Author:FARRELL
Publisher:FARRELL
Chapter9: Advanced Array Concepts
Section: Chapter Questions
Problem 1PE
icon
Related questions
Question

i need help please on Q1 and Q4 

V
▾ Q4:
Create a Series called 'occupation' that has a numeric index and string values like this:
5281224 Accountant
4223241 Data Scientist
4233342 Manager
5012332 Security staff
Then, create a DataFrame called Q4 that combines the Q1 Series with 'occupation' so that it appears like this:
Name
Occupation
5281224 Stina Calista Accountant
4223241 Fran Hendrix
Data Scientist
4233342 Cyril Isak
Manager
5012332 Danilo Norina Security staff
Transcribed Image Text:V ▾ Q4: Create a Series called 'occupation' that has a numeric index and string values like this: 5281224 Accountant 4223241 Data Scientist 4233342 Manager 5012332 Security staff Then, create a DataFrame called Q4 that combines the Q1 Series with 'occupation' so that it appears like this: Name Occupation 5281224 Stina Calista Accountant 4223241 Fran Hendrix Data Scientist 4233342 Cyril Isak Manager 5012332 Danilo Norina Security staff
Q1:
Create a series called Q1, that has a numeric index and string values like this:
5281224 Stina Calista
4223241 Fran Hendrix
4233342 Cyril Isak
5012332 Danilo Norina
W
Start coding or generate with AI.
Transcribed Image Text:Q1: Create a series called Q1, that has a numeric index and string values like this: 5281224 Stina Calista 4223241 Fran Hendrix 4233342 Cyril Isak 5012332 Danilo Norina W Start coding or generate with AI.
Expert Solution
steps

Step by step

Solved in 2 steps with 1 images

Blurred answer
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
EBK JAVA PROGRAMMING
EBK JAVA PROGRAMMING
Computer Science
ISBN:
9781337671385
Author:
FARRELL
Publisher:
CENGAGE LEARNING - CONSIGNMENT