摘要: import datetime stamp = datetime.datetime(2021,9,1,15,23,56) print("%Y 4位数年:",stamp.strftime("%Y")) # %Y 4位数年: 2021 print("%y 2位数年:",stamp.strftime("% 阅读全文
posted @ 2021-09-10 16:39 OTAKU_nicole 阅读(725) 评论(0) 推荐(0) 编辑
摘要: import matplotlib.pyplot as plt import pandas as pd from pandas import DataFrame df = DataFrame([[1,5,3,4], [4,1,2,1], [2,2,3,4], [2,3,2,1], [1,3,4,2] 阅读全文
posted @ 2021-09-10 12:06 OTAKU_nicole 阅读(177) 评论(0) 推荐(0) 编辑