streamlit_freecodecamp icon indicating copy to clipboard operation
streamlit_freecodecamp copied to clipboard

Updating the changed labels from CoinMarketCap data.

Open LEGEND2310 opened this issue 4 years ago • 0 comments

In the load_data function from lines 79 to 83 the label values for each have been changed in the CoinMarketCap data to the following:

  • percent_change_1h to percentChange1h
  • percent_change_24h to percentChange24h
  • percent_change_7d to percentChange7d
  • market_cap to marketCap
  • volume_24h to volume24h

Also in line 109 made the code into a single line to avoid confusion.

LEGEND2310 avatar May 30 '21 14:05 LEGEND2310