[DataFrame] Inherit documentation from Pandas#1727
[DataFrame] Inherit documentation from Pandas#1727devin-petersohn merged 9 commits intoray-project:masterfrom
Conversation
|
Test PASSed. |
|
@devin-petersohn Should I replace the |
|
Test PASSed. |
|
@pschafhalter Yes, it's probably best for now. |
|
Test PASSed. |
08e94aa to
0117d7d
Compare
|
Test FAILed. |
|
Test PASSed. |
python/ray/dataframe/dataframe.py
Outdated
There was a problem hiding this comment.
This can be used on other Dataframe related classes (e.g. DataFrameGroupBy)
There was a problem hiding this comment.
Added decorator Series and DataFrameGroupBy. We should make a note somewhere to override documentation for future Pandas classes that we implement.
|
Test PASSed. |
|
@pschafhalter This has some compatibility issues with Python2, could you clear those up and ping me when they're fixed? |
|
Test FAILed. |
520ac1c to
25be3d9
Compare
|
Test PASSed. |
|
@devin-petersohn it should be fixed for python 2 now |
|
Thanks @pschafhalter! |
* master: (56 commits) [xray] Turn on flushing to the GCS for the lineage cache (ray-project#1907) Single Big Object Parallel Transfer. (ray-project#1827) Remove num_threads as a parameter. (ray-project#1891) Adds Valgrind tests for multi-threaded object manager. (ray-project#1890) Pin cython version in docker base dependencies file. (ray-project#1898) Update arrow to efficiently serialize more types of numpy arrays. (ray-project#1889) updates (ray-project#1896) [DataFrame] Inherit documentation from Pandas (ray-project#1727) Update arrow and parquet-cpp. (ray-project#1875) raylet command line resource configuration plumbing (ray-project#1882) use raylet for remote ray nodes (ray-project#1880) [rllib] Propagate dim option to deepmind wrappers (ray-project#1876) [RLLib] DDPG (ray-project#1685) Lint Python files with Yapf (ray-project#1872) [DataFrame] Fixed repr, info, and memory_usage (ray-project#1874) Fix getattr compat (ray-project#1871) check if arrow build dir exists (ray-project#1863) [DataFrame] Encapsulate index and lengths into separate class (ray-project#1849) [DataFrame] Implemented __getattr__ (ray-project#1753) Add better analytics to docs (ray-project#1854) ... # Conflicts: # python/ray/rllib/__init__.py # python/setup.py
What do these changes do?
Ray DataFrame class inherits documentation from identical methods present in the Pandas DataFrame class.
Note that Ray DataFrame does not inherit documentation for itself or
DataFrame.__init__. Currently, these have different definitions. This will need to be changed once the__init__is the same for Ray and Pandas dataframes.