astype with 'datetime64[us, UTC]' #958
                  
                    
                      davetapley
                    
                  
                
                  started this conversation in
                General
              
            Replies: 1 comment 2 replies
-
| With respect to doing  With respect to the second example, I don't think the expression  | 
Beta Was this translation helpful? Give feedback.
                  
                    2 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to use
astypewithdatetime64[us, UTC].If I pass a string (as the docs):
I get:
I also tried:
numpy/numpy#16545 seems to imply that should work, but I thought I'd open a discussion here before an issue there.
Beta Was this translation helpful? Give feedback.
All reactions