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

[BUG] Creating DataFrames or Series with only None/null entries results in 0-length #915

Closed
randerzander opened this issue Feb 11, 2019 · 0 comments
Assignees
Labels
bug Something isn't working Python Affects Python cuDF API.

Comments

@randerzander
Copy link
Contributor

Creating a cudf.Series or cudf.DataFrame with a Series of only None values results in incorrect row-length

Repro #1:

import cudf
print(cudf.Series([None, None, None]))

Result:

<empty Series of dtype=float64>

The above should be a Series of length 3

Repro #2:

df = cudf.DataFrame()
df['a'] = [None, None, None]
df

Result:

<cudf.DataFrame ncols=1 nrows=0 >

The above should be a df with 3 rows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Python Affects Python cuDF API.
Projects
None yet
Development

No branches or pull requests

3 participants