Skip to content

OECD - ICIO database, Aggregate function error #151

@ybxgood

Description

@ybxgood

2408 self.meta._add_modify("Aggregate final demand y")
2409 self.Y = pd.DataFrame(
-> 2410 data=conc.dot(self.Y).dot(conc_y.T),
2411 index=mi_reg_sec,
2412 columns=mi_reg_Ycat,

ValueError: shapes (3465,463) and (539,539) not aligned: 463 (dim 1) != 539 (dim 0)

When running eora.aggregate(), the above error occurs.
May I ask how to solve this

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions