openpyxl.pivot.table模块¶
-
class
openpyxl.pivot.table.
AutoSortScope
(pivotArea=None)[源代码]¶ 基类:
openpyxl.descriptors.serialisable.Serialisable
-
pivotArea
¶ 值的类型必须小于class“openpyxl.pivot.table.pivotarea”>
-
-
class
openpyxl.pivot.table.
ChartFormat
(chart=None, format=None, series=None, pivotArea=None)[源代码]¶ 基类:
openpyxl.descriptors.serialisable.Serialisable
-
chart
¶ 值的类型必须小于class“int”>
-
format
¶ 值的类型必须小于class“int”>
-
pivotArea
¶ 值的类型必须小于class“openpyxl.pivot.table.pivotarea”>
-
series
¶ 值的类型必须小于class'bool'>
-
tagname
= 'chartFormat'¶
-
-
class
openpyxl.pivot.table.
ColHierarchiesUsage
(count=None, colHierarchyUsage=())[源代码]¶ 基类:
openpyxl.descriptors.serialisable.Serialisable
-
colHierarchyUsage
¶ 只能包含声明类型的对象的序列(列表或元组)
-
count
¶
-
tagname
= 'colHierarchiesUsage'¶
-
-
class
openpyxl.pivot.table.
ConditionalFormat
(scope=None, type=None, priority=None, pivotAreas=(), extLst=None)[源代码]¶ 基类:
openpyxl.descriptors.serialisable.Serialisable
-
extLst
¶ 值的类型必须为<class'openpyxl.descriptors.excel.extensionList'>
-
pivotAreas
¶ 在包含对象中包装序列
-
priority
¶ 值的类型必须小于class“int”>
-
scope
¶ 值必须是'data'、'selection'、'field'之一
-
tagname
= 'conditionalFormat'¶
-
type
¶ Value must be one of {'row', 'column', 'all'}
-
-
class
openpyxl.pivot.table.
DataField
(name=None, fld=None, subtotal='sum', showDataAs='normal', baseField=-1, baseItem=1048832, numFmtId=None, extLst=None)[源代码]¶ 基类:
openpyxl.descriptors.serialisable.Serialisable
-
baseField
¶ 值的类型必须小于class“int”>
-
baseItem
¶ 值的类型必须小于class“int”>
-
extLst
¶ 值的类型必须为<class'openpyxl.descriptors.excel.extensionList'>
-
fld
¶ 值的类型必须小于class“int”>
-
name
¶ 值的类型必须小于class'str'>
-
numFmtId
¶ 值的类型必须小于class“int”>
-
showDataAs
¶ Value must be one of {'percentOfRow', 'normal', 'percent', 'difference', 'percentOfCol', 'runTotal', 'percentDiff', 'percentOfTotal', 'index'}
-
subtotal
¶ Value must be one of {'varp', 'stdDev', 'product', 'stdDevp', 'average', 'count', 'sum', 'min', 'countNums', 'var', 'max'}
-
tagname
= 'dataField'¶
-
-
class
openpyxl.pivot.table.
FieldItem
(n=None, t='data', h=None, s=None, sd=True, f=None, m=None, c=None, x=None, d=None, e=None)[源代码]¶ 基类:
openpyxl.descriptors.serialisable.Serialisable
-
c
¶ 值的类型必须小于class'bool'>
-
d
¶ 值的类型必须小于class'bool'>
-
e
¶ 值的类型必须小于class'bool'>
-
f
¶ 值的类型必须小于class'bool'>
-
h
¶ 值的类型必须小于class'bool'>
-
m
¶ 值的类型必须小于class'bool'>
-
n
¶ 值的类型必须小于class'str'>
-
s
¶ 值的类型必须小于class'bool'>
-
sd
¶ 值的类型必须小于class'bool'>
-
t
¶ Value must be one of {'data', 'varP', 'blank', 'stdDev', 'stdDevP', 'default', 'product', 'grand', 'sum', 'count', 'min', 'countA', 'var', 'avg', 'max'}
-
tagname
= 'item'¶
-
x
¶ 值的类型必须小于class“int”>
-
-
class
openpyxl.pivot.table.
Format
(action='formatting', dxfId=None, pivotArea=None, extLst=None)[源代码]¶ 基类:
openpyxl.descriptors.serialisable.Serialisable
-
action
¶ Value must be one of {'formatting', 'drill', 'formula', 'blank'}
-
dxfId
¶ 值的类型必须小于class“int”>
-
extLst
¶ 值的类型必须为<class'openpyxl.descriptors.excel.extensionList'>
-
pivotArea
¶ 值的类型必须小于class“openpyxl.pivot.table.pivotarea”>
-
tagname
= 'format'¶
-
-
class
openpyxl.pivot.table.
HierarchyUsage
(hierarchyUsage=None)[源代码]¶ 基类:
openpyxl.descriptors.serialisable.Serialisable
-
hierarchyUsage
¶ 值的类型必须小于class“int”>
-
tagname
= 'hierarchyUsage'¶
-
-
class
openpyxl.pivot.table.
Location
(ref=None, firstHeaderRow=None, firstDataRow=None, firstDataCol=None, rowPageCount=None, colPageCount=None)[源代码]¶ 基类:
openpyxl.descriptors.serialisable.Serialisable
-
colPageCount
¶ 值的类型必须小于class“int”>
-
firstDataCol
¶ 值的类型必须小于class“int”>
-
firstDataRow
¶ 值的类型必须小于class“int”>
-
firstHeaderRow
¶ 值的类型必须小于class“int”>
-
ref
¶ 值的类型必须小于class'str'>
-
rowPageCount
¶ 值的类型必须小于class“int”>
-
tagname
= 'location'¶
-
-
class
openpyxl.pivot.table.
MemberList
(count=None, level=None, member=())[源代码]¶ 基类:
openpyxl.descriptors.serialisable.Serialisable
-
count
¶
-
level
¶ 值的类型必须小于class“int”>
-
member
¶ 在包含对象中包装序列
-
tagname
= 'members'¶
-
-
class
openpyxl.pivot.table.
MemberProperty
(name=None, showCell=None, showTip=None, showAsCaption=None, nameLen=None, pPos=None, pLen=None, level=None, field=None)[源代码]¶ 基类:
openpyxl.descriptors.serialisable.Serialisable
-
field
¶ 值的类型必须小于class“int”>
-
level
¶ 值的类型必须小于class“int”>
-
name
¶ 值的类型必须小于class'str'>
-
nameLen
¶ 值的类型必须小于class“int”>
-
pLen
¶ 值的类型必须小于class“int”>
-
pPos
¶ 值的类型必须小于class“int”>
-
showAsCaption
¶ 值的类型必须小于class'bool'>
-
showCell
¶ 值的类型必须小于class'bool'>
-
showTip
¶ 值的类型必须小于class'bool'>
-
tagname
= 'mps'¶
-
-
class
openpyxl.pivot.table.
PageField
(fld=None, item=None, hier=None, name=None, cap=None, extLst=None)[源代码]¶ 基类:
openpyxl.descriptors.serialisable.Serialisable
-
cap
¶ 值的类型必须小于class'str'>
-
extLst
¶ 值的类型必须为<class'openpyxl.descriptors.excel.extensionList'>
-
fld
¶ 值的类型必须小于class“int”>
-
hier
¶ 值的类型必须小于class“int”>
-
item
¶ 值的类型必须小于class“int”>
-
name
¶ 值的类型必须小于class'str'>
-
tagname
= 'pageField'¶
-
-
class
openpyxl.pivot.table.
PivotArea
(references=(), extLst=None, field=None, type='normal', dataOnly=True, labelOnly=None, grandRow=None, grandCol=None, cacheIndex=None, outline=True, offset=None, collapsedLevelsAreSubtotals=None, axis=None, fieldPosition=None)[源代码]¶ 基类:
openpyxl.descriptors.serialisable.Serialisable
-
axis
¶ Value must be one of {'axisCol', 'axisPage', 'axisValues', 'axisRow'}
-
cacheIndex
¶ 值的类型必须小于class'bool'>
-
collapsedLevelsAreSubtotals
¶ 值的类型必须小于class'bool'>
-
dataOnly
¶ 值的类型必须小于class'bool'>
-
extLst
¶ 值的类型必须为<class'openpyxl.descriptors.excel.extensionList'>
-
field
¶ 值的类型必须小于class“int”>
-
fieldPosition
¶ 值的类型必须小于class“int”>
-
grandCol
¶ 值的类型必须小于class'bool'>
-
grandRow
¶ 值的类型必须小于class'bool'>
-
labelOnly
¶ 值的类型必须小于class'bool'>
-
offset
¶ 值的类型必须小于class'str'>
-
outline
¶ 值的类型必须小于class'bool'>
-
references
¶ 在包含对象中包装序列
-
tagname
= 'pivotArea'¶
-
type
¶ Value must be one of {'data', 'button', 'topRight', 'normal', 'origin', 'topEnd', 'all'}
-
-
class
openpyxl.pivot.table.
PivotField
(items=(), autoSortScope=None, name=None, axis=None, dataField=None, subtotalCaption=None, showDropDowns=True, hiddenLevel=None, uniqueMemberProperty=None, compact=True, allDrilled=None, numFmtId=None, outline=True, subtotalTop=True, dragToRow=True, dragToCol=True, multipleItemSelectionAllowed=None, dragToPage=True, dragToData=True, dragOff=True, showAll=True, insertBlankRow=None, serverField=None, insertPageBreak=None, autoShow=None, topAutoShow=True, hideNewItems=None, measureFilter=None, includeNewItemsInFilter=None, itemPageCount=10, sortType='manual', dataSourceSort=None, nonAutoSortDefault=None, rankBy=None, defaultSubtotal=True, sumSubtotal=None, countASubtotal=None, avgSubtotal=None, maxSubtotal=None, minSubtotal=None, productSubtotal=None, countSubtotal=None, stdDevSubtotal=None, stdDevPSubtotal=None, varSubtotal=None, varPSubtotal=None, showPropCell=None, showPropTip=None, showPropAsCaption=None, defaultAttributeDrillState=None, extLst=None)[源代码]¶ 基类:
openpyxl.descriptors.serialisable.Serialisable
-
allDrilled
¶ 值的类型必须小于class'bool'>
-
autoShow
¶ 值的类型必须小于class'bool'>
-
autoSortScope
¶ 值的类型必须小于class“openpyxl.pivot.table.autosortscope”>
-
avgSubtotal
¶ 值的类型必须小于class'bool'>
-
axis
¶ Value must be one of {'axisCol', 'axisPage', 'axisValues', 'axisRow'}
-
compact
¶ 值的类型必须小于class'bool'>
-
countASubtotal
¶ 值的类型必须小于class'bool'>
-
countSubtotal
¶ 值的类型必须小于class'bool'>
-
dataField
¶ 值的类型必须小于class'bool'>
-
dataSourceSort
¶ 值的类型必须小于class'bool'>
-
defaultAttributeDrillState
¶ 值的类型必须小于class'bool'>
-
defaultSubtotal
¶ 值的类型必须小于class'bool'>
-
dragOff
¶ 值的类型必须小于class'bool'>
-
dragToCol
¶ 值的类型必须小于class'bool'>
-
dragToData
¶ 值的类型必须小于class'bool'>
-
dragToPage
¶ 值的类型必须小于class'bool'>
-
dragToRow
¶ 值的类型必须小于class'bool'>
-
extLst
¶ 值的类型必须为<class'openpyxl.descriptors.excel.extensionList'>
值的类型必须小于class'bool'>
-
hideNewItems
¶ 值的类型必须小于class'bool'>
-
includeNewItemsInFilter
¶ 值的类型必须小于class'bool'>
-
insertBlankRow
¶ 值的类型必须小于class'bool'>
-
insertPageBreak
¶ 值的类型必须小于class'bool'>
-
itemPageCount
¶ 值的类型必须小于class“int”>
-
items
¶ 在包含对象中包装序列
-
maxSubtotal
¶ 值的类型必须小于class'bool'>
-
measureFilter
¶ 值的类型必须小于class'bool'>
-
minSubtotal
¶ 值的类型必须小于class'bool'>
-
multipleItemSelectionAllowed
¶ 值的类型必须小于class'bool'>
-
name
¶ 值的类型必须小于class'str'>
-
nonAutoSortDefault
¶ 值的类型必须小于class'bool'>
-
numFmtId
¶ 值的类型必须小于class“int”>
-
outline
¶ 值的类型必须小于class'bool'>
-
productSubtotal
¶ 值的类型必须小于class'bool'>
-
rankBy
¶ 值的类型必须小于class“int”>
-
serverField
¶ 值的类型必须小于class'bool'>
-
showAll
¶ 值的类型必须小于class'bool'>
-
showDropDowns
¶ 值的类型必须小于class'bool'>
-
showPropAsCaption
¶ 值的类型必须小于class'bool'>
-
showPropCell
¶ 值的类型必须小于class'bool'>
-
showPropTip
¶ 值的类型必须小于class'bool'>
-
sortType
¶ Value must be one of {'manual', 'ascending', 'descending'}
-
stdDevPSubtotal
¶ 值的类型必须小于class'bool'>
-
stdDevSubtotal
¶ 值的类型必须小于class'bool'>
-
subtotalCaption
¶ 值的类型必须小于class'str'>
-
subtotalTop
¶ 值的类型必须小于class'bool'>
-
sumSubtotal
¶ 值的类型必须小于class'bool'>
-
tagname
= 'pivotField'¶
-
topAutoShow
¶ 值的类型必须小于class'bool'>
-
uniqueMemberProperty
¶ 值的类型必须小于class'str'>
-
varPSubtotal
¶ 值的类型必须小于class'bool'>
-
varSubtotal
¶ 值的类型必须小于class'bool'>
-
-
class
openpyxl.pivot.table.
PivotFilter
(fld=None, mpFld=None, type=None, evalOrder=None, id=None, iMeasureHier=None, iMeasureFld=None, name=None, description=None, stringValue1=None, stringValue2=None, autoFilter=None, extLst=None)[源代码]¶ 基类:
openpyxl.descriptors.serialisable.Serialisable
-
autoFilter
¶ 值的类型必须是<class'openpyxl.worksheet.filters.autofilter'>
-
description
¶ 值的类型必须小于class'str'>
-
evalOrder
¶ 值的类型必须小于class“int”>
-
extLst
¶ 值的类型必须为<class'openpyxl.descriptors.excel.extensionList'>
-
fld
¶ 值的类型必须小于class“int”>
-
iMeasureFld
¶ 值的类型必须小于class“int”>
-
iMeasureHier
¶ 值的类型必须小于class“int”>
-
id
¶ 值的类型必须小于class“int”>
-
mpFld
¶ 值的类型必须小于class“int”>
-
name
¶ 值的类型必须小于class'str'>
-
stringValue1
¶ 值的类型必须小于class'str'>
-
stringValue2
¶ 值的类型必须小于class'str'>
-
tagname
= 'filter'¶
-
type
¶ Value must be one of {'captionGreaterThanOrEqual', 'captionNotEqual', 'captionGreaterThan', 'M9', 'thisQuarter', 'thisYear', 'Q1', 'dateEqual', 'captionNotBetween', 'valueGreaterThan', 'M5', 'Q4', 'percent', 'sum', 'valueNotBetween', 'yearToDate', 'Q3', 'captionBeginsWith', 'dateNotEqual', 'M6', 'nextWeek', 'lastMonth', 'valueBetween', 'nextQuarter', 'captionEqual', 'captionBetween', 'valueGreaterThanOrEqual', 'dateNewerThan', 'lastYear', 'captionNotBeginsWith', 'M2', 'captionEndsWith', 'M12', 'captionContains', 'dateOlderThan', 'unknown', 'lastWeek', 'Q2', 'captionNotEndsWith', 'captionLessThan', 'yesterday', 'valueLessThanOrEqual', 'today', 'M10', 'valueEqual', 'dateNotBetween', 'tomorrow', 'M4', 'valueNotEqual', 'captionNotContains', 'nextMonth', 'M8', 'M11', 'thisWeek', 'M1', 'captionLessThanOrEqual', 'thisMonth', 'M3', 'M7', 'valueLessThan', 'dateOlderThanOrEqual', 'count', 'dateBetween', 'lastQuarter', 'nextYear', 'dateNewerThanOrEqual'}
-
-
class
openpyxl.pivot.table.
PivotFilters
(count=None, filter=None)[源代码]¶ 基类:
openpyxl.descriptors.serialisable.Serialisable
-
count
¶ 值的类型必须小于class“int”>
-
filter
¶ 值的类型必须小于class“openpyxl.pivot.table.pivotfilter”>
-
-
class
openpyxl.pivot.table.
PivotHierarchy
(outline=None, multipleItemSelectionAllowed=None, subtotalTop=None, showInFieldList=None, dragToRow=None, dragToCol=None, dragToPage=None, dragToData=None, dragOff=None, includeNewItemsInFilter=None, caption=None, mps=(), members=None, extLst=None)[源代码]¶ 基类:
openpyxl.descriptors.serialisable.Serialisable
-
caption
¶ 值的类型必须小于class'str'>
-
dragOff
¶ 值的类型必须小于class'bool'>
-
dragToCol
¶ 值的类型必须小于class'bool'>
-
dragToData
¶ 值的类型必须小于class'bool'>
-
dragToPage
¶ 值的类型必须小于class'bool'>
-
dragToRow
¶ 值的类型必须小于class'bool'>
-
extLst
¶ 值的类型必须为<class'openpyxl.descriptors.excel.extensionList'>
-
includeNewItemsInFilter
¶ 值的类型必须小于class'bool'>
-
members
¶ 值的类型必须小于class“openpyxl.pivot.table.memberlist”>
-
mps
¶ 在包含对象中包装序列
-
multipleItemSelectionAllowed
¶ 值的类型必须小于class'bool'>
-
outline
¶ 值的类型必须小于class'bool'>
-
showInFieldList
¶ 值的类型必须小于class'bool'>
-
subtotalTop
¶ 值的类型必须小于class'bool'>
-
tagname
= 'pivotHierarchy'¶
-
-
class
openpyxl.pivot.table.
PivotTableStyle
(name=None, showRowHeaders=None, showColHeaders=None, showRowStripes=None, showColStripes=None, showLastColumn=None)[源代码]¶ 基类:
openpyxl.descriptors.serialisable.Serialisable
-
name
¶ 值的类型必须小于class'str'>
-
showColHeaders
¶ 值的类型必须小于class'bool'>
-
showColStripes
¶ 值的类型必须小于class'bool'>
-
showLastColumn
¶ 值的类型必须小于class'bool'>
-
showRowHeaders
¶ 值的类型必须小于class'bool'>
-
showRowStripes
¶ 值的类型必须小于class'bool'>
-
tagname
= 'pivotTableStyleInfo'¶
-
-
class
openpyxl.pivot.table.
Reference
(field=None, count=None, selected=None, byPosition=None, relative=None, defaultSubtotal=None, sumSubtotal=None, countASubtotal=None, avgSubtotal=None, maxSubtotal=None, minSubtotal=None, productSubtotal=None, countSubtotal=None, stdDevSubtotal=None, stdDevPSubtotal=None, varSubtotal=None, varPSubtotal=None, x=None, extLst=None)[源代码]¶ 基类:
openpyxl.descriptors.serialisable.Serialisable
-
avgSubtotal
¶ 值的类型必须小于class'bool'>
-
byPosition
¶ 值的类型必须小于class'bool'>
-
count
¶
-
countASubtotal
¶ 值的类型必须小于class'bool'>
-
countSubtotal
¶ 值的类型必须小于class'bool'>
-
defaultSubtotal
¶ 值的类型必须小于class'bool'>
-
extLst
¶ 值的类型必须为<class'openpyxl.descriptors.excel.extensionList'>
-
field
¶ 值的类型必须小于class“int”>
-
maxSubtotal
¶ 值的类型必须小于class'bool'>
-
minSubtotal
¶ 值的类型必须小于class'bool'>
-
productSubtotal
¶ 值的类型必须小于class'bool'>
-
relative
¶ 值的类型必须小于class'bool'>
-
selected
¶ 值的类型必须小于class'bool'>
-
stdDevPSubtotal
¶ 值的类型必须小于class'bool'>
-
stdDevSubtotal
¶ 值的类型必须小于class'bool'>
-
sumSubtotal
¶ 值的类型必须小于class'bool'>
-
tagname
= 'reference'¶
-
varPSubtotal
¶ 值的类型必须小于class'bool'>
-
varSubtotal
¶ 值的类型必须小于class'bool'>
-
x
¶ 值的类型必须小于class“int”>
-
-
class
openpyxl.pivot.table.
RowColField
(x=None)[源代码]¶ 基类:
openpyxl.descriptors.serialisable.Serialisable
-
tagname
= 'field'¶
-
x
¶ 值的类型必须小于class“int”>
-
-
class
openpyxl.pivot.table.
RowColItem
(t='data', r=0, i=0, x=None)[源代码]¶ 基类:
openpyxl.descriptors.serialisable.Serialisable
-
i
¶ 值的类型必须小于class“int”>
-
r
¶ 值的类型必须小于class“int”>
-
t
¶ Value must be one of {'data', 'varP', 'blank', 'stdDev', 'stdDevP', 'default', 'product', 'grand', 'sum', 'count', 'min', 'countA', 'var', 'avg', 'max'}
-
tagname
= 'i'¶
-
x
¶ 值的类型必须小于class“int”>
-
-
class
openpyxl.pivot.table.
RowHierarchiesUsage
(count=None, rowHierarchyUsage=())[源代码]¶ 基类:
openpyxl.descriptors.serialisable.Serialisable
-
count
¶
-
rowHierarchyUsage
¶ 只能包含声明类型的对象的序列(列表或元组)
-
tagname
= 'rowHierarchiesUsage'¶
-
-
class
openpyxl.pivot.table.
TableDefinition
(name=None, cacheId=None, dataOnRows=False, dataPosition=None, dataCaption=None, grandTotalCaption=None, errorCaption=None, showError=False, missingCaption=None, showMissing=True, pageStyle=None, pivotTableStyle=None, vacatedStyle=None, tag=None, updatedVersion=0, minRefreshableVersion=0, asteriskTotals=False, showItems=True, editData=False, disableFieldList=False, showCalcMbrs=True, visualTotals=True, showMultipleLabel=True, showDataDropDown=True, showDrill=True, printDrill=False, showMemberPropertyTips=True, showDataTips=True, enableWizard=True, enableDrill=True, enableFieldProperties=True, preserveFormatting=True, useAutoFormatting=False, pageWrap=0, pageOverThenDown=False, subtotalHiddenItems=False, rowGrandTotals=True, colGrandTotals=True, fieldPrintTitles=False, itemPrintTitles=False, mergeItem=False, showDropZones=True, createdVersion=0, indent=1, showEmptyRow=False, showEmptyCol=False, showHeaders=True, compact=True, outline=False, outlineData=False, compactData=True, published=False, gridDropZones=False, immersive=True, multipleFieldFilters=None, chartFormat=0, rowHeaderCaption=None, colHeaderCaption=None, fieldListSortAscending=None, mdxSubqueries=None, customListSort=None, autoFormatId=None, applyNumberFormats=False, applyBorderFormats=False, applyFontFormats=False, applyPatternFormats=False, applyAlignmentFormats=False, applyWidthHeightFormats=False, location=None, pivotFields=(), rowFields=(), rowItems=(), colFields=(), colItems=(), pageFields=(), dataFields=(), formats=(), conditionalFormats=(), chartFormats=(), pivotHierarchies=(), pivotTableStyleInfo=None, filters=(), rowHierarchiesUsage=None, colHierarchiesUsage=None, extLst=None, id=None)[源代码]¶ 基类:
openpyxl.descriptors.serialisable.Serialisable
-
applyAlignmentFormats
¶ 值的类型必须小于class'bool'>
-
applyBorderFormats
¶ 值的类型必须小于class'bool'>
-
applyFontFormats
¶ 值的类型必须小于class'bool'>
-
applyNumberFormats
¶ 值的类型必须小于class'bool'>
-
applyPatternFormats
¶ 值的类型必须小于class'bool'>
-
applyWidthHeightFormats
¶ 值的类型必须小于class'bool'>
-
asteriskTotals
¶ 值的类型必须小于class'bool'>
-
autoFormatId
¶ 值的类型必须小于class“int”>
-
cache
= None¶
-
cacheId
¶ 值的类型必须小于class“int”>
-
chartFormat
¶ 值的类型必须小于class“int”>
-
chartFormats
¶ 在包含对象中包装序列
-
colFields
¶ 在包含对象中包装序列
-
colGrandTotals
¶ 值的类型必须小于class'bool'>
-
colHeaderCaption
¶ 值的类型必须小于class'str'>
-
colHierarchiesUsage
¶ 值的类型必须小于class“openpyxl.pivot.table.colhierarchies用法”>
-
colItems
¶ 在包含对象中包装序列
-
compact
¶ 值的类型必须小于class'bool'>
-
compactData
¶ 值的类型必须小于class'bool'>
-
conditionalFormats
¶ 在包含对象中包装序列
-
createdVersion
¶ 值的类型必须小于class“int”>
-
customListSort
¶ 值的类型必须小于class'bool'>
-
dataCaption
¶ 值的类型必须小于class'str'>
-
dataFields
¶ 在包含对象中包装序列
-
dataOnRows
¶ 值的类型必须小于class'bool'>
-
dataPosition
¶ 值的类型必须小于class“int”>
-
disableFieldList
¶ 值的类型必须小于class'bool'>
-
editData
¶ 值的类型必须小于class'bool'>
-
enableDrill
¶ 值的类型必须小于class'bool'>
-
enableFieldProperties
¶ 值的类型必须小于class'bool'>
-
enableWizard
¶ 值的类型必须小于class'bool'>
-
errorCaption
¶ 值的类型必须小于class'str'>
-
extLst
¶ 值的类型必须为<class'openpyxl.descriptors.excel.extensionList'>
-
fieldListSortAscending
¶ 值的类型必须小于class'bool'>
-
fieldPrintTitles
¶ 值的类型必须小于class'bool'>
-
filters
¶ 在包含对象中包装序列
-
formats
¶ 在包含对象中包装序列
-
grandTotalCaption
¶ 值的类型必须小于class'str'>
-
gridDropZones
¶ 值的类型必须小于class'bool'>
-
id
¶ 值的类型必须小于class'str'>
-
immersive
¶ 值的类型必须小于class'bool'>
-
indent
¶ 值的类型必须小于class“int”>
-
itemPrintTitles
¶ 值的类型必须小于class'bool'>
-
location
¶ 值的类型必须小于class“openpyxl.pivot.table.location”>
-
mdxSubqueries
¶ 值的类型必须小于class'bool'>
-
mergeItem
¶ 值的类型必须小于class'bool'>
-
mime_type
= 'application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml'¶
-
minRefreshableVersion
¶ 值的类型必须小于class“int”>
-
missingCaption
¶ 值的类型必须小于class'str'>
-
multipleFieldFilters
¶ 值的类型必须小于class'bool'>
-
name
¶ 值的类型必须小于class'str'>
-
outline
¶ 值的类型必须小于class'bool'>
-
outlineData
¶ 值的类型必须小于class'bool'>
-
pageFields
¶ 在包含对象中包装序列
-
pageOverThenDown
¶ 值的类型必须小于class'bool'>
-
pageStyle
¶ 值的类型必须小于class'str'>
-
pageWrap
¶ 值的类型必须小于class“int”>
-
path
¶
-
pivotFields
¶ 在包含对象中包装序列
-
pivotHierarchies
¶ 在包含对象中包装序列
-
pivotTableStyle
¶ 值的类型必须小于class'str'>
-
pivotTableStyleInfo
¶ 值的类型必须小于class“openpyxl.pivot.table.pivotTableStyle”>
-
preserveFormatting
¶ 值的类型必须小于class'bool'>
-
printDrill
¶ 值的类型必须小于class'bool'>
-
published
¶ 值的类型必须小于class'bool'>
-
rel_type
= 'http://schemas.openxmlformats.org/officeDocument/2006/relationships/pivotTable'¶
-
rowFields
¶ 在包含对象中包装序列
-
rowGrandTotals
¶ 值的类型必须小于class'bool'>
-
rowHeaderCaption
¶ 值的类型必须小于class'str'>
-
rowHierarchiesUsage
¶ 值的类型必须小于class“openpyxl.pivot.table.rowHierarchies用法”>
-
rowItems
¶ 在包含对象中包装序列
-
showCalcMbrs
¶ 值的类型必须小于class'bool'>
-
showDataDropDown
¶ 值的类型必须小于class'bool'>
-
showDataTips
¶ 值的类型必须小于class'bool'>
-
showDrill
¶ 值的类型必须小于class'bool'>
-
showDropZones
¶ 值的类型必须小于class'bool'>
-
showEmptyCol
¶ 值的类型必须小于class'bool'>
-
showEmptyRow
¶ 值的类型必须小于class'bool'>
-
showError
¶ 值的类型必须小于class'bool'>
-
showHeaders
¶ 值的类型必须小于class'bool'>
-
showItems
¶ 值的类型必须小于class'bool'>
-
showMemberPropertyTips
¶ 值的类型必须小于class'bool'>
-
showMissing
¶ 值的类型必须小于class'bool'>
-
showMultipleLabel
¶ 值的类型必须小于class'bool'>
-
subtotalHiddenItems
¶ 值的类型必须小于class'bool'>
-
tag
¶ 值的类型必须小于class'str'>
-
tagname
= 'pivotTableDefinition'¶
-
updatedVersion
¶ 值的类型必须小于class“int”>
-
useAutoFormatting
¶ 值的类型必须小于class'bool'>
-
vacatedStyle
¶ 值的类型必须小于class'str'>
-
visualTotals
¶ 值的类型必须小于class'bool'>
-
-
openpyxl.pivot.table.
tostring
(element, *, encoding='utf-8', method=None, short_empty_elements=True)¶ 生成XML元素的字符串表示形式。
包含所有子元素。如果编码为“unicode”,则返回一个字符串。否则将返回bytestring。
要素 是元素实例, 编码 是默认为US-ASCII的可选输出编码, 方法 是可选输出,可以是“xml”(默认)、“html”、“text”或“c14n”之一。
返回包含XML数据的(可选)编码字符串。