Put the chopped sweet potato pieces into your food processor and pulse until you have rice sized pieces.
Put the coconut oil in a large pan on the stove on medium heat and let it melt. Once melted add the riced sweet potato, salt and pepper to the pan and stir well to combine. Turn down the heat and cook for ~25 minutes, stirring every couple minutes to prevent the sweet potato from sticking to the pan.
Notes
You'll know the rice is done when it starts to caramelize
Feel free to add other spices such as ground cinnamon, turmeric or ginger to give it a different flavour.
Nutritional values are an estimate and will vary depending on the exact ingredients used.