Python Variable Type Function Excel