home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 163756773

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions performed_via_github_app issue
https://github.com/pydata/xarray/issues/674#issuecomment-163756773 https://api.github.com/repos/pydata/xarray/issues/674 163756773 MDEyOklzc3VlQ29tbWVudDE2Mzc1Njc3Mw== 1217238 2015-12-10T21:38:08Z 2015-12-10T21:38:08Z MEMBER

I'm sort of on the fence :). Pandas actually does (1), so there is some precedence for this:

``` In [12]: import pandas as pd

In [13]: df = pd.DataFrame({'x': list('abc')})

In [14]: df Out[14]: x 0 a 1 b 2 c

In [15]: pd.DataFrame(df, index=[1, 2]) Out[15]: x 1 b 2 c ```

That said, I know this has been a point of confusion for new pandas users, and I do like the current property of the Dataset constructor that it never removes data via alignment.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  121569683
Powered by Datasette · Queries took 0.601ms · About: xarray-datasette