Consider a record of a one-time investment in bitcoin with value of that investment tracked monthly, provided as an (ordered) tuple of dictionaries, where each dictionary comprises one key for the month and corresponding one value for the value of the investment, and the first entry (Jan 2018) is the initial investment made on 01 Jan 2018, shown indatabelow.
data
Write Python code to take such a record of any length (the belowdatais only a sample), and output a table/dataframe comprising a row for each month with columns for date, start balance, and return.Print out this table/dataframe.
Also, visualize the record as two vertically arranged plots.
Notes:
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here