This message was deleted.
# general
s
This message was deleted.
d
If there isn’t an output with a string representation that isn’t useful for you, you’ll have to construct it yourself.
c
when you say "constraint it yourself", what do you mean by "it"
the string? or the id?
d
I imagine you would take a subsection of the id output.
Probably split it on some character?
c
Copy code
claim_name=pvc_claim.id.apply(lambda x: x.split('/')[1])
feels quite dirty, though it appears to be working.
I guess it'll do! thanks!
was just wondering if there was something better.
b
you can do
pvc_claim.metadata.name
d
Yeah, even better!
But the lambda apply “trick” is the “way” if there isn’t a suitable output.
c
got it, thx!