+ 1

Python coding

3. As a part of data analysis, a company wants to record the raw material used (in millions tons) in the years from 2018 to 2021 as given below: Year Raw material used(in million tons) 2018 12 2019 15 2020 10 2021 18 Write the python code to create a series object using years as indices and the amount of raw material used as data. Finally ,display the elements of the series object by making the first two years of material used as double.

18th Jun 2024, 8:18 AM
Monishka Gupta
Monishka Gupta - avatar
1 Answer
18th Jun 2024, 12:47 PM
Ausgrindtube
Ausgrindtube - avatar