Question: 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
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
