File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed
dataframe/base/interchange/dataframe_protocol
distributed/dataframe/pandas Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -177,9 +177,9 @@ def raise_copy_alert(copy_reason: Optional[str] = None) -> None:
177177 ----------
178178 copy_reason : str, optional
179179 The reason of making a copy. Should fit to the following format:
180- 'The copy occured due to {copy_reason}.'.
180+ 'The copy occurred due to {copy_reason}.'.
181181 """
182182 msg = "Copy required but 'allow_copy=False' is set."
183183 if copy_reason :
184- msg += f" The copy occured due to { copy_reason } ."
184+ msg += f" The copy occurred due to { copy_reason } ."
185185 raise RuntimeError (msg )
Original file line number Diff line number Diff line change @@ -255,7 +255,7 @@ def __init__(self, event_count: int):
255255
256256 def send (self , event_idx : int ):
257257 """
258- Indicate that event with `event_idx` has occured .
258+ Indicate that event with `event_idx` has occurred .
259259
260260 Parameters
261261 ----------
@@ -265,7 +265,7 @@ def send(self, event_idx: int):
265265
266266 async def wait (self , event_idx : int ):
267267 """
268- Wait until event with `event_idx` has occured .
268+ Wait until event with `event_idx` has occurred .
269269
270270 Parameters
271271 ----------
@@ -275,7 +275,7 @@ async def wait(self, event_idx: int):
275275
276276 def is_set (self , event_idx : int ) -> bool :
277277 """
278- Check that event with `event_idx` had occured or not.
278+ Check that event with `event_idx` had occurred or not.
279279
280280 Parameters
281281 ----------
Original file line number Diff line number Diff line change @@ -181,7 +181,7 @@ def __init__(self, event_count: int):
181181
182182 def send (self , event_idx : int ):
183183 """
184- Indicate that event with `event_idx` has occured .
184+ Indicate that event with `event_idx` has occurred .
185185
186186 Parameters
187187 ----------
@@ -191,7 +191,7 @@ def send(self, event_idx: int):
191191
192192 async def wait (self , event_idx : int ):
193193 """
194- Wait until event with `event_idx` has occured .
194+ Wait until event with `event_idx` has occurred .
195195
196196 Parameters
197197 ----------
Original file line number Diff line number Diff line change @@ -104,7 +104,7 @@ def get_block(partition: PartitionUnionType) -> np.ndarray:
104104 blocks = partition .list_of_blocks
105105 assert (
106106 len (blocks ) == 1
107- ), f"Implementation assumes that partition contains a single block, but { len (blocks )} recieved ."
107+ ), f"Implementation assumes that partition contains a single block, but { len (blocks )} received ."
108108 return blocks [0 ]
109109
110110 if get_ip :
You can’t perform that action at this time.
0 commit comments