You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc-pelican/content/pages/basic.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -42,7 +42,7 @@ for colname in dm.columns:
42
42
for cell in dm[colname]: # Loop through all cells in the column
43
43
print(cell) # do something with the cell
44
44
# Or just see which columns exist
45
-
print(dm.column_names)
45
+
print(dm.columns)
46
46
~~~
47
47
48
48
__Important note:__ Because of a limitation (or feature, if you will) of the Python language, the behavior of `and`, `or`, and chained (`x < y < z`) comparisons cannot be modified. These therefore do not work with `DataMatrix` objects as you would expect them to:
@@ -548,7 +548,7 @@ The `column_names` property gives a sorted list of all column names (without the
0 commit comments