i have this line of python code, how can i convert in r code?
oversampled[\'Date\'] = oversampled[\'Date\'].fillna(oversampled[\'Date\'].mode()[0])