Python Forum

Full Version: Melt or Slice
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Using the following dataset : https://www.kaggle.com/jessevent/all-crypto-currencies

I'm trying to isolate two crypto (Bitcoin and Ethereum) currencies and pick a date to compare using a plot.

I'm using pandas Do I need to melt or do I need to slice the dataframe to do this, or is there an alternative option.

The index looks like this, so I want to run a time series plot for the two cryptos, any help appreciated.

slug symbol name date ranknow open high low close volume market close_ratio spread

I can group by open and close but not by the symbol.