A motor (100, 100A, 100B, 100C, 100D) used in a compressor, comprising: a stator (1, 1A, 1B, 1C, 1D) comprising: a stator core having a yoke part that extends in a circumferential direction about an axis and a plurality of teeth that extend from the yoke part toward the axis and are arranged in the circumferential direction, and a winding wound around the plurality of teeth of the stator core in wave winding; and a rotor whose number of poles is P and which is disposed on an inner side of the stator (1, 1A, 1B, 1C, 1D) in a radial direction about the axis, wherein the stator core comprises electromagnetic steel sheets which are stacked in the direction of the axis and fixed together by crimping parts, wherein when the number of the plurality of teeth is represented by S, S/P ≥ 6 is satisfied, wherein the yoke part has a refrigerant passage through which refrigerant passes in a direction of the axis, wherein the refrigerant passage has: a plurality of through holes passing through the yoke part in the direction of the axis, and a plurality of cutout parts formed on an outer circumference of the yoke part over an entire region of the yoke part in the direction of the axis, and wherein the plurality of through holes and the plurality of cutout parts are alternately arranged in the circumferential direction about the axis, wherein each of the plurality of crimping parts is formed on an inner side of the corresponding cutout part in the radial direction in the yoke part, and wherein the winding wound in the wave winding is located on an inner side with respect to the plurality of through holes and the plurality of cutout parts in the radial direction. a stator core having a yoke part that extends in a circumferential direction about an axis and a plurality of teeth that extend from the yoke part toward the axis and are arranged in the circumferential direction, and a winding wound around the plurality of teeth of the stator core in wave winding; and a rotor whose number of poles is P and which is disposed on an inner side of the stator (1, 1A, 1B, 1C, 1D) in a radial direction about the axis, wherein the stator core comprises electromagnetic steel sheets which are stacked in the direction of the axis and fixed together by crimping parts, wherein when the number of the plurality of teeth is represented by S, S/P ≥ 6 is satisfied, wherein the yoke part has a refrigerant passage through which refrigerant passes in a direction of the axis, wherein the refrigerant passage has: a plurality of through holes passing through the yoke part in the direction of the axis, and a plurality of cutout parts formed on an outer circumference of the yoke part over an entire region of the yoke part in the direction of the axis, and wherein the plurality of through holes and the plurality of cutout parts are alternately arranged in the circumferential direction about the axis, wherein each of the plurality of crimping parts is formed on an inner side of the corresponding cutout part in the radial direction in the yoke part, and wherein the winding wound in the wave winding is located on an inner side with respect to the plurality of through holes and the plurality of cutout parts in the radial direction. a plurality of through holes passing through the yoke part in the direction of the axis, and a plurality of cutout parts formed on an outer circumference of the yoke part over an entire region of the yoke part in the direction of the axis, and wherein the plurality of through holes and the plurality of cutout parts are alternately arranged in the circumferential direction about the axis, wherein each of the plurality of crimping parts is formed on an inner side of the corresponding cutout part in the radial direction in the yoke part, and wherein the winding wound in the wave winding is located on an inner side with respect to the plurality of through holes and the plurality of cutout parts in the radial direction.