You can attract a female coworker by just being you. Always try to be presentable and respectful towards them when talking to them. Make sure you try to make her feel comfortable and are honest and open while interacting with her.