as_fnc_df function

Convert a data frame to a fnc_df