大文字に再フォーマットしようとすると{r[Name]}(元は titlecase: James)
元のコード
string = 'text {r[Name]} data'.format(r=row)
試み
string = 'text {r[Name].uppercase()} data'.format(r=row)
トレースバックを取得します:AttributeError: 'str' object has no attribute 'uppercase'
何か案は?どうもありがとう