Skip to content

BUG: series update #4080

Closed
Closed
@midfield

Description

@midfield
import pandas as pd

df = pd.DataFrame(dict((c, [1,2,3]) for c in ['a', 'b', 'c']))
df.set_index(['a', 'b', 'c'], inplace=True)
s = pd.Series([1], index=[(2,2,2)])
df['val'] = 0
df
df['val'].update(s)
df

on my machine (pandas 0.11.1.dev-45d298d, linux) i get the rather unexpected output


                       val
a b c
1 1 1                    0
2 2 2  4607182418800017408
3 3 3                    0


Metadata

Metadata

Assignees

No one assigned

    Labels

    BugDtype ConversionsUnexpected or buggy dtype conversionsIndexingRelated to indexing on series/frames, not to indexes themselves

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions