PandasColumnListModel
Base classes¶
| Name | Children | Inherits |
|---|---|---|
| SchemaModel cutepandas.pandasmodels.schemamodel One row per column of a frame (any backend), read-only. |
⋔ Inheritance diagram¶
graph TD
1775412234["pandascolumnlistmodel.PandasColumnListModel"]
1331296928["schemamodel.SchemaModel"]
1559661765["i18n.TranslatableHeaderMixin"]
3771062457["i18n.TranslateMixin"]
2751680898["builtins.object"]
103874424["dataframeholder.DataFrameHolderMixin"]
3514613245["itemmodels.ModelMixin"]
656210031["core.AbstractTableModel"]
4092674192["core.AbstractTableModelMixin"]
3882849576["core.AbstractItemModelMixin"]
3227531497["core.ObjectMixin"]
1115338939["QtCore.QAbstractTableModel"]
930985301["QtCore.QAbstractItemModel"]
13951691["QtCore.QObject"]
395147830["sip.wrapper"]
46922758["sip.simplewrapper"]
1331296928 --> 1775412234
1559661765 --> 1331296928
3771062457 --> 1559661765
2751680898 --> 3771062457
103874424 --> 1331296928
2751680898 --> 103874424
3514613245 --> 1331296928
2751680898 --> 3514613245
656210031 --> 1331296928
4092674192 --> 656210031
3882849576 --> 4092674192
3227531497 --> 3882849576
2751680898 --> 3227531497
1115338939 --> 656210031
930985301 --> 1115338939
13951691 --> 930985301
395147830 --> 13951691
46922758 --> 395147830
2751680898 --> 46922758
🛈 DocStrings¶
Bases: SchemaModel
SchemaModel for pandas frames that also edits them.
Rename (column 0), change the dtype (column 1, see DTypeDelegate), remove,
reorder by drag and drop or by sorting, append columns and move index levels into
the columns (drop from PandasIndexListModel).
Source code in src/cutepandas/pandasmodels/pandascolumnlistmodel.py
21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 | |
add_feature
¶
Append a Series as a new column (named after the Series).