-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
added io functions #550
added io functions #550
Conversation
@kaiyingshan I think Gregor's comment on the circular dependency is correct. We would have to take |
python test cases can be added for all read/write functions. |
python/pycylon/pycylon/frame.py
Outdated
@@ -2307,6 +2345,157 @@ def applymap(self, func, na_action=None) -> DataFrame: | |||
""" | |||
return DataFrame(self._table.applymap(func)) | |||
|
|||
@staticmethod | |||
def read_csv(paths: Union[str, List[str], Dict[int, Union[str, List[str]]]], | |||
env: CylonEnv, **kwargs) -> DataFrame: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
documentation can be added.
python/pycylon/pycylon/frame.py
Outdated
|
||
@staticmethod | ||
def read_json(paths: Union[str, List[str], Dict[int, Union[str, List[str]]]], | ||
env: CylonEnv, **kwargs) -> DataFrame: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
documentation can be added.
python/pycylon/pycylon/frame.py
Outdated
|
||
@staticmethod | ||
def read_parquet(paths: Union[str, List[str], Dict[int, Union[str, List[str]]]], | ||
env: CylonEnv, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
documentation can be added.
@kaiyingshan please take a pull from the master. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 🙂
@kaiyingshan could you please merge master here? |
No description provided.