代码拉取完成,页面将自动刷新
import pandas as pd
import numpy as np
import pandas as pd
# arr = [10, 9, 1, 7, 6]
# for i, item in enumerate(arr):
# print(i, item)
#
# test_num = [4,4,4,5]
# print((np.sum(test_num) / len(test_num)) % 2 == 0 )
# test = ['nan']
# print(pd.isna(test[0]))
# test = ['hello', 'world', 'liu', 'zhi', 'wo', 'ni']
# test[2] = test[2].concat(test[3])
# del test[3]
# print(test)
my = "hello %d" % format(100)
print(my)
# for index in range(len(arr)):
# if index == len(arr) - 1:
# pass
# else:
# print(arr[index])
# print(arr[index+1])
# test = [[[np.nan, 2, 3], [4, 5, 6], [7, 8, 9], [1, 2, 3]]]
# print(test[0][0])
# print(test[0], np.isnan(test[0][0][0]))
# arr = [1,2,3]
# x = np.array([1,2,3])
#
# print(np.isnan(x[0]))
#
# print(np.isnan(arr[0]) == False)
# del test[0]
# print(test)
#
#
# print(len(test))
# x = [item for item in test[0]]
# print(x)
# arr = []
# for item in test[0]:
# arr.append(item)
#
# df = pd.DataFrame(arr)
# print(df)
# df = df.drop_duplicates()
# print(df)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。