def generate_ensure_dtypes():
    output = StringIO()
    for name, ctype, dtype in ensure_functions:
        filled = locals() % ensure_dtype_template
        output.write(filled)
    return output.getvalue()

#----------------------------------------------------------------------
# Fast "put" logic for speeding up interleaving logic
dataset/ETHPy150Open pydata/pandas/pandas/src/generate_code.py/generate_ensure_dtypes/swapped operands of `%`