Where in the source code repository is the implementation of DataFrame.__getitem__?

25 views
Skip to first unread message

Blah Miller

unread,
Apr 3, 2018, 8:06:36 PM4/3/18
to PyData
I look around on GitHub and was unable to find the implementation of
DataFrame.__getitem__
Which directory should I look in?
Someone posted an implementation on stack overflow, but it's old (2015)

chris bertinato

unread,
Apr 4, 2018, 9:32:19 AM4/4/18
to PyData
It’s in pandas/core/frame.py

Pietro Battiston

unread,
Apr 4, 2018, 9:49:02 AM4/4/18
to pyd...@googlegroups.com
Il giorno mer, 04/04/2018 alle 06.32 -0700, chris bertinato ha scritto:
> It’s in pandas/core/frame.py


(As can be found by "pd.DataFrame.__getitem__??" in ipython)

Pietro
Reply all
Reply to author
Forward
0 new messages