Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Use the following Daily Gold Price on World dataset with different currencies (available at Kaggle.com). It contains historical gold prices (end of year) from 1979

Use the following Daily Gold Price on World dataset with different currencies (available at Kaggle.com). It contains historical gold prices (end of year) from 1979 to 2022.

Create a Jupyter notebook file that includes Python code to do the following:

1. Read the data as a dataframe.

2. Summarize the observations from the basic statistics you apply on the dataset. (Number of columns/rows; number of missing values -if any; datatype of each column; measures of central tendency and variability; etc).

3. Convert data in each column into an appropriate data type.

4. Create visualizations that show the distribution of each numerical column.

5. Group the data by year, considering the average price in each year.

6. Plot the data you got as an output from group by with time on the horizontal axis and gold price rate for SAR and USD on the vertical.

Be sure to provide a title and labels for the horizontal and vertical axes.

7. Visualize the gold price rate in the last ten years (choose the appropriate chart).

8. Create, then train a regression model, then use it to predict the gold price in the next five time periods.

full python code with comments

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_step_2

Step: 3

blur-text-image_step3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions

Question

Summarize the deposit rules for nonagricultural employers.

Answered: 1 week ago

Question

6. Explain the power of labels.

Answered: 1 week ago

Question

10. Discuss the complexities of language policies.

Answered: 1 week ago