| EmpNo | EName | Job | MGR | HireDa | Sal | Comm | DeptNo |
| 1234 | Amit | Waiter | 8382 | 19-Oct -18 | 50000 | 500 | 50 |
| 5678 | Ashish | Analyst | 8635 | 2-Nov-18 | 60000 | 200 | 51 |
| DeotNo | Dname | Loc |
| 50 | Service | Delhi |
| 51 | Account | Mumbai |
| DeptNo | Dname | Loc |
| 50 | Service | Delhi |
| 51 | Account | Mumbai |
| EmpNo | EName | Job | MGR | HireDa | Sal | Comm | DeptNo |
| 1234 | Amit | Waiter | 8382 | 19-Oct -18 | 50000 | 500 | 50 |
| 5678 | Ashish | Analyst | 8635 | 2-Nov-18 | 60000 | 200 | 51 |
| EmpNo | EName | Job | MGR | HireDa | Sal | Comm | DeptNo |
| 1234 | Amit | Waiter | 8382 | 19-Oct -18 | 50000 | 500 | 50 |
| 5678 | Ashish | Analyst | 8635 | 2-Nov-18 | 60000 | 200 | 51 |
| EmpNo | EName | Job | MGR | HireDa | Sal | Comm | DeptNo |
| 1234 | Amit | Waiter | 8382 | 19-Oct -18 | 50000 | 500 | 50 |
| 5678 | Ashish | Analyst | 8635 | 2-Nov-18 | 60000 | 200 | 51 |
| EmpNo | EName | Job | MGR | HireDa | Sal | Comm | DeptNo |
| 1234 | Amit | Waiter | 8382 | 19-Oct -18 | 50000 | 500 | 50 |
| 5678 | Ashish | Analyst | 8635 | 2-Nov-18 | 60000 | 200 | 51 |
| EmpNo | EName | Job | MGR | HireDa | Sal | Comm | DeptNo |
| 1234 | Amit | Waiter | 8382 | 19-Oct -18 | 50000 | 500 | 50 |
| 5678 | Ashish | Analyst | 8635 | 2-Nov-18 | 60000 | 200 | 51 |
| EmpNo | EName | Job | MGR | HireDa | Sal | Comm | DeptNo |
| 1234 | Amit | Waiter | 8382 | 19-Oct -18 | 50000 | 500 | 50 |
| 5678 | Ashish | Analyst | 8635 | 2-Nov-18 | 60000 | 200 | 51 |
| EmpNo | EName | Job | MGR | HireDa | Sal | Comm | DeptNo |
| 1234 | Amit | Waiter | 8382 | 19-Oct -18 | 50000 | 500 | 50 |
| 5678 | Ashish | Analyst | 8635 | 2-Nov-18 | 60000 | 200 | 51 |
| EmpNo | EName | Job | MGR | HireDa | Sal | Comm | DeptNo |
| 1234 | Amit | Waiter | 8382 | 19-Oct -18 | 50000 | 500 | 50 |
| 5678 | Ashish | Analyst | 8635 | 2-Nov-18 | 60000 | 200 | 51 |
| EmpNo | EName | Job | MGR | HireDa | Sal | Comm | DeptNo |
| 1234 | Amit | Waiter | 8382 | 19-Oct -18 | 50000 | 500 | 50 |
| 5678 | Ashish | Analyst | 8635 | 2-Nov-18 | 60000 | 200 | 51 |
| EmpNo | EName | Job | MGR | HireDa | Sal | Comm | DeptNo |
| 1234 | Amit | Waiter | 8382 | 19-Oct -18 | 50000 | 500 | 50 |
| 5678 | Ashish | Analyst | 8635 | 2-Nov-18 | 60000 | 200 | 51 |
| EmpNo | EName | Job | MGR | HireDa | Sal | Comm | DeptNo |
| 1234 | Amit | Waiter | 8382 | 19-Oct -18 | 50000 | 500 | 50 |
| 5678 | Ashish | Analyst | 8635 | 2-Nov-18 | 60000 | 200 | 51 |
| EmpNo | EName | Job | MGR | HireDa | Sal | Comm | DeptNo |
| 1234 | Amit | Waiter | 8382 | 19-Oct -18 | 50000 | 500 | 50 |
| 5678 | Ashish | Analyst | 8635 | 2-Nov-18 | 60000 | 200 | 51 |
| EmpNo | EName | Job | MGR | HireDa | Sal | Comm | DeptNo |
| 1234 | Amit | Waiter | 8382 | 19-Oct -18 | 50000 | 500 | 50 |
| 5678 | Ashish | Analyst | 8635 | 2-Nov-18 | 60000 | 200 | 51 |
| EmpNo | EName | Job | MGR | HireDa | Sal | Comm | DeptNo |
| 1234 | Amit | Waiter | 8382 | 19-Oct -18 | 50000 | 500 | 50 |
| 5678 | Ashish | Analyst | 8635 | 2-Nov-18 | 60000 | 200 | 51 |
| EmpNo | EName | Job | MGR | HireDa | Sal | Comm | DeptNo |
| 1234 | Amit | Waiter | 8382 | 19-Oct -18 | 50000 | 500 | 50 |
| 5678 | Ashish | Analyst | 8635 | 2-Nov-18 | 60000 | 200 | 51 |
| EmpNo | EName | Job | MGR | HireDa | Sal | Comm | DeptNo |
| 1234 | Amit | Waiter | 8382 | 19-Oct -18 | 50000 | 500 | 50 |
| 5678 | Ashish | Analyst | 8635 | 2-Nov-18 | 60000 | 200 | 51 |

| EmpNo | EName | Job | MGR | HireDate | Sal | Comm | DeotNo |
| 1234 | Amit | Waiter | 8382 | 19-Oct-18 | 50000 | 500 | 50 |
| 5678 | Ashish | Analyst | 8635 | 2-Nov-18 | 60000 | 200 | 51 |
| EmpNo | EName | Job | MGR | HireDate | Sal | Comm | DeptNo |
| 1234 | Amit | Waiter | 8382 | 19-Oct-18 | 50000 | 500 | 50 |
| 5678 | Ashish | Analyst | 8635 | 2-Nov-18 | 60000 | 200 | 51 |
| DeptNo | Dname | Loc |
| 50 | Service | Delhi |
| 51 | Account | Mumbai |
| Employee Name | Salary | Row_Number |
| Amit | 7000 | 1 |
| Bhargav | 6000 | 2 |
| Chirag | 6000 | 3 |
| Dinesh | 5000 | 4 |
| Esha | 3000 | 5 |
| Farhan | 3000 | 6 |
| Employee Name | Salary | Row_Number |
| Amit | 7000 | 1 |
| Bhargav | 6000 | 2 |
| Chirag | 6000 | 2 |
| Dinesh | 5000 | 4 |
| Esha | 3000 | 5 |
| Farhan | 3000 | 6 |
| Employee Name | Salary | Row_Number |
| Amit | 7000 | 1 |
| Bhargav | 6000 | 1 |
| Chirag | 6000 | 2 |
| Dinesh | 5000 | 2 |
| Esha | 3000 | 3 |
| Farhan | 3000 | 3 |
| Employee Name | Salary | Row_Number |
| Amit | 7000 | 1 |
| Bhargav | 6000 | 2 |
| Chirag | 6000 | 2 |
| Dinesh | 5000 | 3 |
| Esha | 3000 | 4 |
| Farhan | 3000 | 5 |
| Employee Name | Salary | Row_Number |
| Amit | 7000 | 1 |
| Bhargav | 6000 | 2 |
| Chirag | 6000 | 3 |
| Dinesh | 5000 | 4 |
| Esha | 3000 | 5 |
| Farhan | 3000 | 6 |
| Employee Name | Salary | Row_Number |
| Amit | 7000 | 1 |
| Bhargav | 6000 | 2 |
| Chirag | 6000 | 3 |
| Dinesh | 5000 | 4 |
| Esha | 3000 | 5 |
| Farhan | 3000 | 6 |




Main differences between List and Dictionary data types in Python are as follows:
1. Syntax: In a List, we store objects in a sequence. In a Dictionary, we store objects in key-value pairs.
2. Reference: In List, we access objects by index number. It starts at 0 indexes. In a Dictionary we access objects by key specified at the time of Dictionary creation.
3. Ordering: In a List, objects are stored in an ordered sequence. In a Dictionary objects are not stored in an ordered sequence.
4.Hashing: In a Dictionary, keys have to be hashable. In a List, there is no need for hashing.
| EmpNo | EName | Job | MGR | HireDate | Sal | Comm | DeptNo |
| 1234 | Amit | Waiter | 8382 | 19-Oct-18 | 50000 | 500 | 50 |
| 5678 | Ashish | Analyst | 8635 | 2-Nov-18 | 60000 | 200 | 51 |
| EmpNo | EName | Job | MGR | HireDate | Sal | Comm | DeptNo |
| 1234 | Amit | Waiter | 8382 | 19-Oct-18 | 50000 | 500 | 50 |
| 5678 | Ashish | Analyst | 8635 | 2-Nov-18 | 60000 | 200 | 51 |




Type I and Type II errors are used in machine learning to find the effectiveness of the hypothesis. These are the concepts derived from statistics.
Type I Error: Type I error is the rejection of the null hypothesis. It is also known as a false positive. It means the result indicates that a condition is present but it is not present. E.g. If a test predicts that a person has diabetes, but in reality, the person does not have diabetes. It is an example of a Type I error.
Type II Error: Type II error is the failure to reject the null hypothesis. It is also known as a false negative. It means, the result indicates that a condition is not present, but it is actually present. E.g. If a test predicts that a person does not have diabetes, but in reality the person has diabetes. It is an example of a Type II error.
In machine learning, we have to establish the acceptance criteria of a model on the basis of acceptable false-positive and false-negative results. Therefore, Type I and Type II errors are quite useful in machine learning models.
| EmpNo | EName | Job | MGR | HireDate | Sal | Comm | DeptNo |
| 1234 | Amit | Waiter | 8382 | 19-Oct-18 | 50000 | 500 | 50 |
| 5678 | Ashish | Analyst | 8635 | 2-Nov-18 | 60000 | 200 | 51 |
| EmpNo | EName | Job | MGR | HireDate | Sal | Comm | DeptNo |
| 1234 | Amit | Waiter | 8382 | 19-Oct-18 | 50000 | 500 | 50 |
| 5678 | Ashish | Analyst | 8635 | 2-Nov-18 | 60000 | 200 | 51 |
| EmpNo | EName | Job | MGR | HireDate | Sal | Comm | DeptNo |
| 1234 | Amit | Waiter | 8382 | 19-Oct-18 | 50000 | 500 | 50 |
| 5678 | Ashish | Analyst | 8635 | 2-Nov-18 | 60000 | 200 | 51 |
| EmpNo | EName | Job | MGR | HireDate | Sal | Comm | DeptNo |
| 1234 | Amit | Waiter | 8382 | 19-Oct-18 | 50000 | 500 | 50 |
| 5678 | Ashish | Analyst | 8635 | 2-Nov-18 | 60000 | 200 | 51 |
| DeptNo | Dname | Loc |
| 50 | Service | Delhi |
| 51 | Account | Mumbai |
| EmpNo | EName | Job | MGR | HireDate | Sal | Comm | DeptNo |
| 1234 | Amit | Waiter | 8382 | 19-Oct-18 | 50000 | 500 | 50 |
| 5678 | Ashish | Analyst | 8635 | 2-Nov-18 | 60000 | 200 | 51 |
| EmpNo | EName | Job | MGR | HireDate | Sal | Comm | DeptNo |
| 1234 | Amit | Waiter | 8382 | 19-Oct-18 | 50000 | 500 | 50 |
| 5678 | Ashish | Analyst | 8635 | 2-Nov-18 | 60000 | 200 | 51 |
| EmpNo | EName | Job | MGR | HireDate | Sal | Comm | DeptNo |
| 1234 | Amit | Waiter | 8382 | 19-Oct-18 | 50000 | 500 | 50 |
| 5678 | Ashish | Analyst | 8635 | 2-Nov-18 | 60000 | 200 | 51 |

- Dates can be Discreet or Continuous. The date level of a field can be changed by dropping it into the Row or Column shelf and selecting a pill drop menu. Using this menu, dates can be changed between discreet and continuous.







While connecting to the data source, other developers can connect to the data source from the Tableau server option.

Developers using the published data source will be allowed to create their own calculations on the data source.
![]()


- In Data blending, one data source becomes primary and the second data source becomes secondary.
- Data blending is not a join. Join occurs between the tables from the same data source.







A calculated field can also be created by navigating to the Menu/Analysis and selecting Create Calculated Field.
A calculated field can use any of the Tableau defined functions such as
Exercise: Use Tableau sample data source Sample- Superstore.xls located under \My Tableau Repository\Data sources. Use the Orders Datasheet. Create a calculation for Sales with Discount. Use the formula:
Sales * Discount.

Table calculation can also be created just like regular calculation but will use the Table calculation functions.



![]()









Group can also be created in the data window. Groups can also be calculated by creating a calculated field.








