Skip to content

Ptm shep parser updates#76

Open
mukul-kandwal wants to merge 6 commits intodevfrom
PTMShep_Parser_Updates
Open

Ptm shep parser updates#76
mukul-kandwal wants to merge 6 commits intodevfrom
PTMShep_Parser_Updates

Conversation

@mukul-kandwal
Copy link
Collaborator

No description provided.

mukul-kandwal and others added 6 commits September 13, 2025 21:26
s = self.df["glycan_composition"].astype(str)
# Map the No Glycan Matched case to a blank string
result = s.mask(lambda x: x == "No Glycan Matched", other="")
result = s.replace(["No Glycan Matched", "nan"], "")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't that be np.nan or so ?

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.

3 participants