iiiJenny
iiiJenny
# Troubleshooting 合并grouped data后,无法用pandas引用某一列数据 ## Describe your question 初始数据如下图:  目标:我想根据pic(10个)和pos_x,pos_y(方位:左中右)进行分类,算出每个组合x与y的最大最小值。 1. groupby数据:根据上述三个变量合并形成10pic大分组,10*3*3小分类,每类均有x,y的min和max。 2. 但是,columns的是错位的(pic和pos_x,pos_y偏下);  3. 无法引用pic等;引用lable等出现的是组合形式(series.Series)    如何像平时引用pandas每一列一样引用数据呢?如:df['x']-->出来一列数据 @hupili could you please help me? thax~
## Describe your question 在画散点图时,无法将点的形状设置为自定义图片(并设置图片的像素大小) 目前画的图如下:  希望将下图“全部完成”替换“绿色的9个不同位置的点”,像素设置为532 × 140,并覆盖在其他蓝色点上(可以覆盖一部分)  ## code (以下代码只给出了绿色点) ``` import matplotlib.pyplot as plt xpos = [-300, -300, -300, 0, 0, 0, 300, 300, 300]...