所以我在python中有一些代码试图从zillow获得房价。我正在完全遵循文档,但我仍然遇到错误。代码:
Line 31: con.Open();
Line 32: SqlCommand cmd = new SqlCommand("Insert into [Students] value(@id,@lname,@fname,@date)", con);
Line 33: cmd.Parameters.AddWithValue("@id", idTextBox.Text); // GET ERROR HERE
Line 34: cmd.Parameters.AddWithValue("@lname", lnTextBox.Text);
Line 35: cmd.Parameters.AddWithValue("@fname", fnTextBox.Text);
然而,这会返回:
import quandl
quandl.ApiConfig.api_key = "I have a key here in the code"
data = quandl.get("http://www.quandl.com/api/v3/datasets/ZILL/S00022_A.csv", returns="numpy")
这是什么意思,我该如何解决?提前谢谢。