现在我想把它转换成一个指向切片的指针。问题是,我要么有切片本身,要么有指向接口的指针。我可以很容易地在代码示例中显示: model := []int{1,2,3,4,5,6,7,8,10,11,133123123123} fmt.Println(reflect.TypeOf(&model)) // this is of type *interface{}我需要的是这种类型在这里,
“Date”列是datetime64ns类型。我试着按日期过滤数据框架,例如“2021-10-10和2021-10-15之间的所有值”或“2021-10-14之后的所有值”等等。15')TypeError: '<=' not supported between instances of 'date time.date' and 'str'
在发生此错误后,我尝试转换切片,按照建议“您希望使用Strings '2017-07-07‘而索引类型为d