(这里的新手:)我希望你能给我任何帮助/建议。我正试图绘制我所拥有的数据,以便进行一些视觉检查,并且假设我达到了我想要的位置,与其他一些commands...but一起使用,然后当我尝试使用ggplot时,我无法完成它。这是我的数据"alc3">的一部分,每个饮料类型都有虚拟变量
Author est se beer wine sp
我有一个像这样的熊猫数据框架,其中所有类别的头部数据都是可用的: Table depicting category wise head wise values where the heads arein the columns 现在,我想要一个pandas函数返回一个数据帧,如下图所示,其中head值将显示为每个类别的行: Table where all the heads for a particular