尝试在python中连接两个数据帧时键入错误

时间:2016-03-02 18:05:30

标签: python types concat

我正在尝试使用以下代码在python 3中连接两个数据帧:

if(data.response)
  $('#response').attr('checked','checked');

a是具有日期时间,字符串和布尔值的数据框

导致此错误:

    // new property method
 if(data.response)
    $('#response').prop('checked', true);

如果python不理解数据类型,我不需要做什么?

请帮助。 感谢。

0 个答案:

没有答案