我有一个包含一些“空”(NaN)条目的数据帧,例如 c = pd.DataFrame({"A":[1, 2, np.NAN, 4], "B":[11, 22, 33, np.NAN]}, index=["a", "b", "c", "d"])
a 1.0 11.0c NaN 33.0
d 4.0 NaN 我想使用另外两
对于jquery,ajax获取请求。在JSON包含NaN (不是数字)之前,一切都很好:
"[{"SomeId":1,"SomeName":"Some name 1","Parameter1":1.13,"Parameter2":NaNjquery或web是罪魁祸首吗?我怎样才能减轻这种情况呢?谢谢。