Skip to content
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

Merged
merged 8 commits into from
Jan 6, 2022
Merged

added io functions #550

merged 8 commits into from
Jan 6, 2022

Conversation

kaiyingshan
Copy link
Collaborator

No description provided.

@nirandaperera
Copy link
Collaborator

@kaiyingshan I think Gregor's comment on the circular dependency is correct. We would have to take CylonEnv to a separate env.py file. Then the conda-CI should resolve IMO.

@ahmet-uyar
Copy link
Collaborator

python test cases can be added for all read/write functions.

@@ -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:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

documentation can be added.


@staticmethod
def read_json(paths: Union[str, List[str], Dict[int, Union[str, List[str]]]],
env: CylonEnv, **kwargs) -> DataFrame:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

documentation can be added.


@staticmethod
def read_parquet(paths: Union[str, List[str], Dict[int, Union[str, List[str]]]],
env: CylonEnv,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

documentation can be added.

@nirandaperera
Copy link
Collaborator

@kaiyingshan please take a pull from the master.

@kaiyingshan kaiyingshan marked this pull request as ready for review December 30, 2021 03:18
Copy link
Collaborator

@nirandaperera nirandaperera left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 🙂

@nirandaperera
Copy link
Collaborator

nirandaperera commented Jan 5, 2022

@kaiyingshan could you please merge master here?

@nirandaperera nirandaperera merged commit 54d4a53 into cylondata:main Jan 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants