我的初始df是:
df =
LowChildren
应用 ID location
0 141 [(45.1024, 7.7498), (45.1027, 7.75), (45.1072,...
1 403 [(45.0595, 7.6829), (45.0595, 7.6829), (45.056...
2 920 [(45.0695, 7.5454), (44.9727, 7.666), (44.9726..
后,我得到
b = df['location'].apply(pd.Series)
我得到了我想要的东西。但是我丢失了“ ID”列。如何保存并应用1 2 3 4
(45.1024, 7.7498) (45.1027, 7.75) (45.1072, 7.7568) (45.1076, 7.7563)
...
?
答案 0 :(得分:0)
export default {
name: "Nav",
data() {
return {
pupilId: ""
};
},
methods: {
onSubmit: function () {
this.$router.push({ path: `/student/${this.searchStudent}` });
}
}
}