我有一列“货币”和另一列“金额”。“currency”列包含以下格式的对象: USD、EUR、SEK、AUD等。我想通过转换所有其他货币来将所有'amount‘值转换为USD,并在新列中打印新的转换,但我在这一点上遇到了困难: from forex_python.converter= ['currency']
我有一个使用I作为字符串的pandas dataframe df :我正在尝试创建new_claim和new_description列 ? 所以我发现最接近的是Efficiently replace part of value from one column with value from another column in pandasexternal_id'], inplace=False) 但如果我有 date_reg = re.compile(r'\b'+df[