摘要:
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("% 阅读全文
摘要:
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] 阅读全文