Revert "Revert "data_formats() added""

This reverts commit c1f044df1fcc551abd42f96d3452077d9f7ad5f3.