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

ReadCSV: parameter nrows cause fallback to Pandas #1523

Closed
akharche opened this issue Jun 2, 2020 · 3 comments · Fixed by #1894
Closed

ReadCSV: parameter nrows cause fallback to Pandas #1523

akharche opened this issue Jun 2, 2020 · 3 comments · Fixed by #1894
Assignees
Labels
new feature/request 💬 Requests and pull requests for new features P2 Minor bugs or low-priority feature requests
Milestone

Comments

@akharche
Copy link

akharche commented Jun 2, 2020

Adding 'dtype' parameter to read_csv() falls back to Pandas implementation.

dtype = np.int16
df = pd.read_csv(filename, nrows=100000, dtype=dtype, header=None)

UserWarning: Parameters provided defaulting to pandas implementation.

@akharche akharche added the new feature/request 💬 Requests and pull requests for new features label Jun 2, 2020
@devin-petersohn
Copy link
Collaborator

Hi @akharche, thanks for the report!

I believe it is the nrows=100000 argument that is causing the default to pandas. dtype parameter is supported.

@akharche
Copy link
Author

akharche commented Jun 3, 2020

Hi @devin-petersohn, thanks for the clarification!

Should I reopen the issue with 'nrows' parameter?

@aregm aregm changed the title ReadCSV: parameter dtype ReadCSV: parameter nrows cause fallback to Pandas Jun 3, 2020
@devin-petersohn
Copy link
Collaborator

No we can keep the issue. @aregm has changed the title.

@devin-petersohn devin-petersohn added this to the 0.7.4 milestone Jun 3, 2020
@devin-petersohn devin-petersohn modified the milestones: 0.8.0, 0.8.1 Jul 29, 2020
@anmyachev anmyachev added the P2 Minor bugs or low-priority feature requests label Aug 4, 2020
dchigarev added a commit to dchigarev/modin that referenced this issue Aug 19, 2020
Signed-off-by: Dmitry Chigarev <dmitry.chigarev@intel.com>
dchigarev added a commit to dchigarev/modin that referenced this issue Sep 3, 2020
Signed-off-by: Dmitry Chigarev <dmitry.chigarev@intel.com>
dchigarev added a commit to dchigarev/modin that referenced this issue Sep 3, 2020
Signed-off-by: Dmitry Chigarev <dmitry.chigarev@intel.com>
dchigarev added a commit to dchigarev/modin that referenced this issue Sep 3, 2020
Signed-off-by: Dmitry Chigarev <dmitry.chigarev@intel.com>
dchigarev added a commit to dchigarev/modin that referenced this issue Sep 3, 2020
Signed-off-by: Dmitry Chigarev <dmitry.chigarev@intel.com>
dchigarev added a commit to dchigarev/modin that referenced this issue Sep 3, 2020
Signed-off-by: Dmitry Chigarev <dmitry.chigarev@intel.com>
dchigarev added a commit to dchigarev/modin that referenced this issue Sep 3, 2020
Signed-off-by: Dmitry Chigarev <dmitry.chigarev@intel.com>
dchigarev added a commit to dchigarev/modin that referenced this issue Sep 3, 2020
Signed-off-by: Dmitry Chigarev <dmitry.chigarev@intel.com>
dchigarev added a commit to dchigarev/modin that referenced this issue Sep 3, 2020
Signed-off-by: Dmitry Chigarev <dmitry.chigarev@intel.com>
devin-petersohn pushed a commit that referenced this issue Sep 4, 2020
Signed-off-by: Dmitry Chigarev <dmitry.chigarev@intel.com>
aregm pushed a commit to aregm/modin that referenced this issue Sep 16, 2020
…roject#1894)

Signed-off-by: Dmitry Chigarev <dmitry.chigarev@intel.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
new feature/request 💬 Requests and pull requests for new features P2 Minor bugs or low-priority feature requests
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants