What was the change in Amounts charged to cost and expense between 2018 and 2019?
{"Balance at beginning of period": {"2019": 185, "2018": 205}, "Plus: Amounts charged to cost and expense": {"2019": 6014, "2018": 7261}, "Less: Amounts paid": {"2019": -4631, "2018": -7281}, "Balance at end of period": {"2019": 1568, "2018": 185}}
amounts_charged_to_cost_and_expense_2019 = df["Plus: Amounts charged to cost and expense"]["2019"]
amounts_charged_to_cost_and_expense_2018 = df["Plus: Amounts charged to cost and expense"]["2018"]
answer = amounts_charged_to_cost_and_expense_2019 - amounts_charged_to_cost_and_expense_2018