Comment

Comment by stoops

How do I apply a function to every element of a data frame where that function takes as input the i,j indices of the element along with its value?

This is a problem I struggled on for weeks in college. Eventually having to hack something together that relied on modifying the underlying data frame.

I've not return to R since as python has always had better libraries and easier to deploy.

parent stoops 6 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton