Electrical wiring stapled to subfloor/joists beneath baseboard
Normaly the romex is pulled through a hole in the bottom plate for the wall. As long as the hole is 1-1/4" back or the wire is 1-1/4" back it could be legal no conduit required. If less than 1-1/4" a nail plate would need be used to prevent a screw or nail from being driven into the cable. If the hole is in front of the wall (wasn't sure) I would move it back into the wall ,the other choice would be to add a short piece of conduit 6" above the floor to protect the wire. Per NEC 334.15.B. 6" above floor EMT, schedule 80 PVC, rigid or Inc.