def change_str(zifu):
str = zifu[0] #定义一个新的字符串
for i in range(1, len(zifu)): #遍历字符串
if zifu[i].isupper() and not zifu[i-1].isupper() :
str+='_'
str +=zifu[i]
elif zifu[i]. isupper() and zifu[i-1].isupper() and zifu[i+1].islower: # 碰到多个大写字母的情况
str+='_'
str+=zifu[i]
else:
str+=zifu[i]
return str.lower() #转换成小写
my_dic = ['id','disasterId','disasterName','province','county','town','village','groups','longitude','latitude','geographicLocation','disasterType','disasterScaleNumber','scaleCompany','scaleLevel','disasterOccurrenceTime','urgentYransferPopulation','probableCasualties','relocationAvoidancePersonnel','avoidCasualties','avoidEconomicLosses','