Kombinieren Sie die Säule in CSV Python Pandas
df['period'] = df[['Year', 'quarter', ...]].agg('-'.join, axis=1)
Selfish Seal
df['period'] = df[['Year', 'quarter', ...]].agg('-'.join, axis=1)