x******a 发帖数: 6336 | 1 is it an error in my code?
$python -OO myfile.py
Traceback (most recent call last):
File "myfile.py", line 10, in
import pandas as pd
File "/home/user/opt/anaconda/lib/python2.7/site-packages/pandas/__init__.
py", line 45, in
from pandas.io.api import *
File "/home/user/opt/anaconda/lib/python2.7/site-packages/pandas/io/api.py
", line 11, in
from pandas.io.sql import read_sql, read_sql_table, read_sql_query
File "/home/user/opt/anaconda/lib/python2.7/site-packages/pandas/io/sql.py
", line 1219, in
read_frame.__doc__ += read_sql.__doc__
TypeError: unsupported operand type(s) for +=: 'NoneType' and 'NoneType' |
|