We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3736f4b commit b38dc41Copy full SHA for b38dc41
pandas/io/excel.py
@@ -777,8 +777,18 @@ def _pop_header_name(row, index_col):
777
778
def _conv_value(val):
779
""" Convert numpy types to Python types for the Excel writers.
780
- :obj:`datetime` and :obj:`date` formatting must be handled in the
781
- writer. :obj:`str` representation is returned for all other types.
+
+ Parameters
782
+ ----------
783
+ val : object
784
+ Value to be written into cells
785
786
+ Returns
787
+ -------
788
+ If val is a numpy int, float, or bool, then the equivalent Python
789
+ types are returned. :obj:`datetime`, :obj:`date`, and :obj:`timedelta`
790
+ are passed and formatting must be handled in the writer. :obj:`str`
791
+ representation is returned for all other types.
792
"""
793
if is_integer(val):
794
val = int(val)
0 commit comments