Closed ChesoiCarmen closed 1 year ago
Hi @ChesoiCarmen. I'll put in a fix for this. I think it should be relatively straightforward. I'll use your example as a test case and make it work. Thanks!
@ChesoiCarmen this should be fixed in the new release 2.0.1
hi Jason I'm sorry for replying so late; I was away. Thanks for this. I will give the new version a go.
Hello @jwcook23 Not sure if i am doing anything wrong, but it seems that i cannot use a timestamp column in the index. However, i can use a simple date. Here are a couple of examples.
This WORKS
it prints
However, this DOESN'T WORK
gives an error message
because of this line: https://github.com/jwcook23/mssql_dataframe/blob/main/mssql_dataframe/core/conversion.py#L489 In my case
col
is in the index so when we try to accessdataframe[col]
it naturally gives the above error.Is there a workaround or am i doing something wrong ? Using a datetimeoffset column as part of the index is quite a common usecase.