Closed Distortedlogic closed 2 years ago
Upon further investigation, it appears this is an OS difference. I ran the same lines of arrow in the python interpreter on my windows machine to one result and in a linux docker container to a different result replicating the scenario above with linux producing the expected behavior.
On windows
On linux in docker
I have two screenshots of running
arrow.utcnow().timestamp
andarrow.utcnow().timestamp()
both on google colab and a local jupyter lab instance. On google collab,arrow.utcnow().timestamp()
returns as expected, and as per the arrow docs. On the jupyter lab instance,arrow.utcnow().timestamp()
raisesTypeError: 'int' object is not callable
andarrow.utcnow().timestamp
returns the expected value as anint
.Google Colab with expected behavior, Python 3.7.12![11-01-2022-10-31-04](https://user-images.githubusercontent.com/54854447/148972229-56d4e33c-5aa4-4b89-bef1-63fbbd398919.png)
Jupyter Lab with unexpected behavior, Python 3.9.7![11-01-2022-10-31-28](https://user-images.githubusercontent.com/54854447/148972315-ba717416-6b09-4785-aacb-4f527f07f935.png)
Jupyter version info![11-01-2022-10-36-37](https://user-images.githubusercontent.com/54854447/148973177-e137bc81-4c78-4791-9cd0-df96c09d1840.png)
System Info