Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Clarify support for using pandas column names as labels#218

Merged
dfm merged 1 commit intodfm:mainfrom
zachjweiner:clarify-pandas-support
Dec 3, 2022
Merged

Clarify support for using pandas column names as labels#218
dfm merged 1 commit intodfm:mainfrom
zachjweiner:clarify-pandas-support

Conversation

@zachjweiner
Copy link
Contributor

I phrased the support for using pandas.DataFrame.columns for labels as a deprecated feature, but stopped short of stating that passing a DataFrame is unsupported---np.atleast_1d coerces them into suitable 2D numpy arrays, as applied by _parse_input.

Closes #217.

@zachjweiner
Copy link
Contributor Author

I don't understand the RTD build failure - it built fine locally...

@dfm
Copy link
Owner

dfm commented Dec 3, 2022

Thanks! Yeah - that RTDs issue isn't caused by your PR, don't worry!

@dfm dfm merged commit fccea83 into dfm:main Dec 3, 2022
@zachjweiner
Copy link
Contributor Author

Thanks, @dfm!

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.

Documentation errantly suggests labels are inferred from pandas.DataFrame columns

2 participants