Skip to content

Commit 223df78

Browse files
Fix merge conflict
2 parents 3334a17 + 12e47e9 commit 223df78

File tree

5 files changed

+9
-7
lines changed

5 files changed

+9
-7
lines changed

ci/code_checks.sh

+1-4
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
109109
-i "pandas.DatetimeIndex.std PR01,RT03" \
110110
-i "pandas.DatetimeIndex.to_period RT03" \
111111
-i "pandas.DatetimeIndex.to_pydatetime RT03,SA01" \
112-
-i "pandas.DatetimeIndex.tz_convert RT03" \
113112
-i "pandas.DatetimeTZDtype SA01" \
114113
-i "pandas.DatetimeTZDtype.tz SA01" \
115114
-i "pandas.Grouper PR02" \
@@ -131,7 +130,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
131130
-i "pandas.Index.inferred_type SA01" \
132131
-i "pandas.Index.insert PR07,RT03,SA01" \
133132
-i "pandas.Index.intersection PR07,RT03,SA01" \
134-
-i "pandas.Index.item SA01" \
135133
-i "pandas.Index.join PR07,RT03,SA01" \
136134
-i "pandas.Index.memory_usage RT03" \
137135
-i "pandas.Index.names GL08" \
@@ -271,7 +269,7 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
271269
-i "pandas.Series.dt.strftime PR01,PR02" \
272270
-i "pandas.Series.dt.to_period PR01,PR02,RT03" \
273271
-i "pandas.Series.dt.total_seconds PR01" \
274-
-i "pandas.Series.dt.tz_convert PR01,PR02,RT03" \
272+
-i "pandas.Series.dt.tz_convert PR01,PR02" \
275273
-i "pandas.Series.dt.tz_localize PR01,PR02" \
276274
-i "pandas.Series.dt.unit GL08" \
277275
-i "pandas.Series.dtype SA01" \
@@ -285,7 +283,6 @@ if [[ -z "$CHECK" || "$CHECK" == "docstrings" ]]; then
285283
-i "pandas.Series.is_monotonic_decreasing SA01" \
286284
-i "pandas.Series.is_monotonic_increasing SA01" \
287285
-i "pandas.Series.is_unique SA01" \
288-
-i "pandas.Series.item SA01" \
289286
-i "pandas.Series.kurt RT03,SA01" \
290287
-i "pandas.Series.kurtosis RT03,SA01" \
291288
-i "pandas.Series.le PR07,SA01" \

pandas/_typing.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ def readline(self) -> bytes: ...
314314

315315

316316
class WriteExcelBuffer(WriteBuffer[bytes], Protocol):
317-
def truncate(self, size: int | None = ...) -> int: ...
317+
def truncate(self, size: int | None = ..., /) -> int: ...
318318

319319

320320
class ReadCsvBuffer(ReadBuffer[AnyStr_co], Protocol):

pandas/core/arrays/datetimes.py

+1
Original file line numberDiff line numberDiff line change
@@ -867,6 +867,7 @@ def tz_convert(self, tz) -> Self:
867867
Returns
868868
-------
869869
Array or Index
870+
Datetme Array/Index with target `tz`.
870871
871872
Raises
872873
------

pandas/core/base.py

+5
Original file line numberDiff line numberDiff line change
@@ -398,6 +398,11 @@ def item(self):
398398
ValueError
399399
If the data is not length = 1.
400400
401+
See Also
402+
--------
403+
Index.values : Returns an array representing the data in the Index.
404+
Series.head : Returns the first `n` rows.
405+
401406
Examples
402407
--------
403408
>>> s = pd.Series([1])

pandas/core/indexes/base.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -2584,8 +2584,7 @@ def fillna(self, value):
25842584
Returns
25852585
-------
25862586
Index
2587-
Returns an Index object with NaN values filled with the specified scalar
2588-
value.
2587+
NA/NaN values replaced with `value`.
25892588
25902589
See Also
25912590
--------

0 commit comments

Comments
 (0)