wrobstory / vincent

A Python to Vega translator
MIT License
2.04k stars 227 forks source link

Use time scale when index has type 'date' or 'datetime' #152

Open mikemsq opened 8 years ago

mikemsq commented 8 years ago

There are cases when a dataframe has a regular Index (not DatetimeIndex) with elements of type 'date' or 'datetime'. In these cases Vincent should use the 'time' scale.