Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Hello, I have a pandas dataframe with multiple columns and rows. I would like to create an entirely new column to the far left that
Hello, I have a pandas dataframe with multiple columns and rows. I would like to create an entirely new column to the far left that numbers each row starting from How can I do this? #Confirm dataframe was created
sustdfhead
Out:
FY
Ship
Class
Issue
Task
Problem
Statement
Background
CG
Below Waterline
and Tank Top.
Aged and
CG
None
None
overdue...
CG Port Boat Davit
Ao
CG
None
None
CG
Superstructure
aged and
overdue
CG
None
None
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started