Skip to content

deblend_nthresh missing columns if exported as DataFrame #194

Description

@tmillenaar

When conf.export.pandas_df is set to True and also deblend_nthresh is supplied the returned DataFrame looks like so:

Image

This is in contrast to the case without deblend_nthresh, where the columns have names as defined here:

I think to align this we should return similar names when a DataFrame is created here:

return pd.DataFrame(serialized_results)

For now I work around this in TraP by setting the column names to conf.export.source_params. So since I now work around this there is no rush to resolve this, but it would be nice to align this eventually.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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