pygsp.graphs.logo()Sl = f.analysis(G.L.todense(), method='cheby') 回溯(最近一次调用/gsp_trial1.py", line 3, G = pygsp.graphs.logo()
TypeError: 'module' object is
虽然搜索部分运行良好,但当返回结果查询集时,我得到以下错误: TypeError:类型为date的对象不可序列化 我不确定为什么会发生这种情况,因为我没有尝试序列化任何东西。User\AppData\Local\Programs\Python\Python37-32\lib\json\encoder.py", line 179, in defaultTypeError: Object of type date is not
'Train','Test']}---------------------------------------------------------------------------<ipython-input-41-c83fc3ba4a1c> in <moduletransforms[x])
----> 3 for x in ['Train'
我尝试使用dateutil和relativedelta来检索两个日期之间的差异(runwayMonths),但是我得到了TypeError: 'module' object is not callable我认为问题出在我调用类和/或模块的方式上,但我在这里或其他地方找不到一个类似的例子来帮助我理解我做错了什么。