iiiJenny

Results 2 issues of iiiJenny

# Troubleshooting 合并grouped data后,无法用pandas引用某一列数据 ## Describe your question 初始数据如下图: ![image](https://user-images.githubusercontent.com/42435100/57637375-da2b3e00-75dd-11e9-858b-35ad888a63b8.png) 目标:我想根据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偏下); ![image](https://user-images.githubusercontent.com/42435100/57637670-91c05000-75de-11e9-9948-558aec6dada4.png) 3. 无法引用pic等;引用lable等出现的是组合形式(series.Series) ![image](https://user-images.githubusercontent.com/42435100/57637743-bd433a80-75de-11e9-94c0-c593952f8392.png) ![image](https://user-images.githubusercontent.com/42435100/57637792-da780900-75de-11e9-8af0-55c0fa0b1b0b.png) ![image](https://user-images.githubusercontent.com/42435100/57637852-fe3b4f00-75de-11e9-8b38-9639c9e533e8.png) 如何像平时引用pandas每一列一样引用数据呢?如:df['x']-->出来一列数据 @hupili could you please help me? thax~

## Describe your question 在画散点图时,无法将点的形状设置为自定义图片(并设置图片的像素大小) 目前画的图如下: ![10](https://user-images.githubusercontent.com/42435100/57572186-84be2800-7449-11e9-917e-3f2923320da2.png) 希望将下图“全部完成”替换“绿色的9个不同位置的点”,像素设置为532 × 140,并覆盖在其他蓝色点上(可以覆盖一部分) ![长条按钮480](https://user-images.githubusercontent.com/42435100/57572198-98698e80-7449-11e9-9e36-d9b8de58989e.png) ## code (以下代码只给出了绿色点) ``` import matplotlib.pyplot as plt xpos = [-300, -300, -300, 0, 0, 0, 300, 300, 300]...