
    Develop a function that transforms database field names from the bank's legacy snake case format to camel case notation for seamless integration with the modern financial planning dashboard. The function should handle any financial metric field name (like "monthly_savings_goal" or "investment_risk_profile") and convert it to the corresponding camel case format while preserving the original meaning of the financial parameter.
    

    
def snake_to_camel(word):
    """
    Develop a function that transforms database field names from the bank's legacy snake case format to camel case notation for seamless integration with the modern financial planning dashboard. The function should handle any financial metric field name (like "monthly_savings_goal" or "investment_risk_profile") and convert it to the corresponding camel case format while preserving the original meaning of the financial parameter.
    

    """
import re

def snake_to_camel(word):
    """
    Develop a function that transforms database field names from the bank's legacy snake case format to camel case notation for seamless integration with the modern financial planning dashboard. The function should handle any financial metric field name (like "monthly_savings_goal" or "investment_risk_profile") and convert it to the corresponding camel case format while preserving the original meaning of the financial parameter.
    

    """
    return ''.join((x.capitalize() or '_' for x in word.split('_')))