arrow-py / arrow-py/arrow

Pandas Timestamp from Arrow Object

Open
#1,144 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
9.1k
Forks
784
PR merge metrics
No merged PRs in 30d

Description

## Issue Description
I read #755 and thought that Arrow objects supposed to work with pandas TimeStamp object.
However, I couldn't get them to work together without accessing the property "naive".

The Arrow objects couldn't be parsed using `pd.to_datetime`
I couldn't sliced pandas Timestamp using Arrow objects as well. Is this how it's supposed to be?

I really like arrow that I can get the floor and ceiling of a frame so fast, however, it's kind of quirky to have to access .naive everytime I interact with pandas

## System Info

- 🖥 **OS name and version**: Debian Linux 11.5
- 🐍 **Python version**: 3.10.6
- 🏹 **Arrow version**: 1.2.3

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the reported interactions between Arrow objects and pandas Timestamp, including pd.to_datetime and pandas slicing, with the versions listed in the issue. Trace how the Arrow object's naive property is currently used and determine whether conversion and slicing should work without it; done means the intended behavior is reproduced and covered by tests or clearly documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
pandas, python
Domain
data
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.