I have a pandas DataFrame where one of the columns is filled with Pydub AudioSegment
objects.
I can display a single AudioSegment
as an HTML audio player by just doing this in a cell:
from pydub import AudioSegment
AudioSegment.from_wav("never_gonna_give_you_up.wav")
However, when I display the pandas DataFrame, I just get a column filled with object references: (((<pydub.audio_segment.AudioSegment object at...
What I would like is for the column to fill with HTML audio players so I can view the metadata and listen to the clips.