Standardized pandas/numpy conversions