TiesdeKok / ipystata

Enables the use of Stata together with Python via Jupyter (IPython) notebooks.
192 stars 68 forks source link

Dates, Months, Quarters not properly handled #34

Closed ravivmg closed 6 years ago

ravivmg commented 6 years ago

I have a Stata dataset with dates, months, and quarters (formated %td, %tm, %tq).

When I do "%%stata -d df" then ipystata converts all of them to %tc.

TiesdeKok commented 6 years ago

Yes, that is unfortunately a problem with Pandas.

See my extensive answer here: https://github.com/TiesdeKok/ipystata/issues/33

ravivmg commented 6 years ago

Ah, sorry, I didn't see that closed issue. I'll close this issue. Thanks!