Skip to content

Removed a use of pandas.unique in read_dumpfiles to not cause problems with pandas versions 3.0.0 and higher. Also, for newly unbound mass plots, multiple sink companion separations will now be plotted when applicable.#3

Open
s-neilson wants to merge 2 commits into
miguelglezb:mainfrom
s-neilson:main

Conversation

@s-neilson

Copy link
Copy Markdown
Contributor

For newly unbound mass plots, all sink separations will now be plotted instead of just the first if there is more than one companion.

In read_dumpfiles, removed the use of pandas.unique and replaced it with a Python set. This is because in versions of pandas that are 3.0.0 and higher the pandas.unique function no longer accepts a Python list as an input. I also made the output dumpfile list guaranteed to be in the same alphanumerical order in case this is useful in the future.

…er supports using a Python list as an input in versions of pandas 3.0.0 or higher . It is now changed to use a inbuilt Python set instead; the output dumpfile list is also now guaranteed to always be in the same alphanumerical order in case this is useful in the future.
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.

1 participant