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

Micro{Series,DataFrame}.drop() returns {Series,DataFrame} #210

Open
MaxGhenis opened this issue Mar 5, 2021 · 0 comments · May be fixed by #211
Open

Micro{Series,DataFrame}.drop() returns {Series,DataFrame} #210

MaxGhenis opened this issue Mar 5, 2021 · 0 comments · May be fixed by #211

Comments

@MaxGhenis
Copy link
Collaborator

MaxGhenis commented Mar 5, 2021

In [2]: d = mdf.MicroDataFrame(dict(x=[1, 2], y=[3, 4]), weights=[5, 6])

In [3]: d.drop("x", axis=1).__class__
Out[3]: pandas.core.frame.DataFrame

In [4]: d.drop(0).__class__
Out[4]: pandas.core.frame.DataFrame

In [5]: d.x.drop(0).__class__
Out[5]: pandas.core.series.Series
@MaxGhenis MaxGhenis changed the title MicroDataFrame.drop() returns DataFrame Micro{Series,DataFrame}.drop() returns {Series,DataFrame} Mar 5, 2021
@MaxGhenis MaxGhenis linked a pull request Mar 5, 2021 that will close this issue
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 a pull request may close this issue.

1 participant