px_from_data_df function

Create a minimal px object from a data frame