Skip to main content

All Questions

0 votes
0 answers
274 views

Make custom function with if-statement

I'm tring to make function with if statement. I want to change whichever df that is longer to sample to the other shorter df's length. But it doesn't work, throwing an error 'list index out of range'. ...
dkdlfls26's user avatar
  • 171