来源:https://stackoverflow.com/questions/63805747/create-one-row-with-values-from-table-with-data-in-diagonal-only 标签 python pandas if-statement null append