lệnh Table Flashcards

(56 cards)

1
Q

Table.AddColumn

A

Thêm cột mới → ví dụ: thêm cột Total = Price * Qty

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Table.AddIndexColumn

A

Thêm cột index → ví dụ: 0,1,2,3…

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Table.AggregateTableColumn

A

Group bảng con → ví dụ: tính tổng trong bảng nested

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Table.Buffer

A

Lưu bảng tạm trong RAM → tăng tốc xử lý

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Table.ColumnCount

A

Đếm số cột → ví dụ: trả về 12

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Table.ColumnNames

A

Lấy tên cột → ví dụ: {“ASIN”,”Price”,”Date”}

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Table.Combine

A

Gộp bảng → ví dụ: union nhiều file CSV

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Table.DemoteHeaders

A

Đưa header thành dòng dữ liệu → dòng 1 thành dữ liệu

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Table.Distinct

A

Xóa trùng theo cột → ví dụ: giữ mỗi ASIN duy nhất

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Table.DuplicateColumn

A

Nhân bản cột → từ Price tạo Price.1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Table.ExpandListColumn

A

Expand cột list → ví dụ: {A,B,C} thành 3 dòng

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Table.ExpandRecordColumn

A

Expand cột record → ví dụ: {“a”:1,”b”:2} thành 2 cột

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Table.FillDown

A

Fill từ trên xuống → ví dụ: copy dữ liệu dòng trên xuống dòng trống

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Table.FillUp

A

Fill từ dưới lên → ngược với FillDown

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Table.First

A

Lấy dòng đầu tiên của bảng

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Table.FirstN

A

Lấy N dòng đầu → ví dụ: FirstN 100

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

Table.FromColumns

A

Tạo bảng từ các list cột → list1|list2 → bảng

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
18
Q

Table.FromList

A

Tạo bảng từ list → {“a”,”b”} thành bảng 2 dòng

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
19
Q

Table.FromRecords

A

Tạo bảng từ record → [{a=1,b=2}] → 1 dòng

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q

Table.FromRows

A

Tạo bảng từ list rows → [[“A”,”B”],[“C”,”D”]] → 2 dòng

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
21
Q

Table.Group

A

Group theo cột → group theo ASIN → tổng Quantity

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
22
Q

Table.InsertRows

A

Chèn dòng mới → thêm dòng vào giữa bảng

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
23
Q

Table.IsDistinct

A

Kiểm tra bảng có trùng không → TRUE/FALSE

24
Q

Table.Join

A

Join bảng → theo ASIN (inner join)

25
Table.Last
Lấy dòng cuối cùng
26
Table.LastN
Lấy N dòng cuối
27
Table.NestedJoin
Join nhưng giữ bảng phụ dạng nested → như merge nhưng chưa expand
28
Table.Partition
Chia bảng thành nhiều phần nếu cột thoả điều kiện
29
Table.Pivot
Xoay dòng thành cột → ví dụ Month thành các cột Tháng1–Tháng12
30
Table.PrefixColumns
Thêm prefix tên cột → ví dụ: Order_Date → Sales_Order_Date
31
Table.Profile
Trả về thống kê dữ liệu → min/max/trống/% null
32
Table.Range
Lấy một đoạn từ bảng → ví dụ: lấy từ dòng 10 đến 15
33
Table.ReorderColumns
Đổi vị trí cột → kéo thả cột
34
Table.RemoveColumns
Xóa cột → ví dụ: xoá Notes, Address
35
Table.RemoveRows
Xóa dòng theo index → ví dụ: xoá 5 dòng đầu
36
Table.RemoveRowsWithErrors
Xóa dòng có lỗi → Error records
37
Table.ReplaceValue
Thay giá trị → ví dụ: NA → null
38
Table.Repeat
Lặp bảng → nhân bản bảng 3 lần
39
Table.RenameColumns
Đổi tên → col1 → ASIN
40
Table.ReverseRows
Đảo ngược thứ tự dòng → bottom lên top
41
Table.RowCount
Đếm dòng → ví dụ: trả về 10452
42
Table.Schema
Xem schema → tên cột + kiểu dữ liệu
43
Table.SelectColumns
Chọn cột → chỉ giữ ASIN, Date, Price
44
Table.SelectRows
Lọc bảng → ví dụ: Price > 0
45
Table.SingleRow
Trả về bảng với 1 dòng duy nhất
46
Table.Skip
Bỏ qua N dòng đầu → ví dụ skip 2
47
Table.Sort
Sắp xếp → ví dụ sort theo Date tăng dần
48
Table.SplitColumn
Tách cột → ví dụ "A-B-C" thành 3 cột
49
Table.ToColumns
Convert thành list cột → {list1,list2,…}
50
Table.ToRows
Convert thành list dòng → {{row1},{row2},…}
51
Table.TransformColumnTypes
Đổi kiểu → Price text → number
52
Table.TransformColumns
Transform theo logic → ví dụ Price=Price*1000
53
Table.Transpose
Đổi cột thành dòng và ngược lại
54
Table.Truncate
Xóa hết nội dung bảng → vẫn giữ cấu trúc
55
Table.Unpivot
Đổi cột thành dòng → ví dụ Jan,Feb,Mar → Month|Value
56
Table.UnpivotOtherColumns
Chỉ giữ cột chính → flatten phần còn lại