fixing up optional pandas req