Phone:

Techtalks: Data Science

About Data Science

Data is no longer a trend or a buzzword, it’s a part of the growth strategy for every business. Machine Learning, Artificial Intelligence, Business Intelligence, Big Data – these tools help us analyze the past, understand the present, and look into the future with unmatched accuracy. Join the Techtalks community to explore these possibilities, find answers to your questions, and share your experience with others.
image placeholder
Mariah Carey

asked  Mar 25, 2023

Yes, in Python, you can obtain an error code from an exception by using the errno attribute of the exception object. The errno attribute is an integer value that represents the error code associated with the exception.

For example, let's say you have a file that you want to open and read in Python. If the file does not exist, attempting to open it will raise a FileNotFoundError exception. You can capture this exception and retrieve the associated error code using the errno attribute, like this:

import errno

try:
    with open('nonexistentfile.txt', 'r') as f:
        content = f.read()
except FileNotFoundError as e:
    print("File not found: ", e)
    print("Error code: ", e.errno)

In this example, if the file "nonexistentfile.txt" does not exist, the open() function will raise a FileNotFoundError exception. The exception is captured in a try-except block, and the error message and error code are printed using the errno attribute. octordle

Note that not all exceptions in Python have an associated error code, and that the errno attribute may not be defined for all exception types. It is important to check the documentation for the specific exception you are working with to determine whether it has an associated error code.

image placeholder
Vivek Garg

asked  Oct 7, 2022

Windows Server 2008 Tableau Desktop 7.0 Local MySQL database using Xampp

When attempting to connect to a localhost MySQL database server using the native MySQL data connection in Tableau Desktop, I'm getting the following error:

"The connection to the data source might have been lost. Communication with the Tableau Protocol Server process was lost.

Unable to connect to the server "localhost". Check that the server is running and that you have access privileges to the requested database. Unable to connect to the server. Check that the server is running and that you have access privileges to the requested database."

When using "Other Databases (ODBC)" in Tableau, I am able to connect and return data. However, I would prefer to use the MySQL connection to avoid the limitations of the Other Databases connection.

I created a specific username in phpmyadmin as well as tried using the root username and password and the same error was returned. I created a user DSN in odbcad32.exe and attempted using multiple versions of the MySQL ODBC driver (3.5, 5.2.7, 5.3.4).

Does anyone have any ideas of what might be causing the error? Really appreciate any help.

In Addition, I learn from Tableau certification course.
 
Thank you in advance.
image placeholder
Vivek Garg

asked  Sep 28, 2022

In Tableau I received the following error message:

The Google BigQuery service was unable to compile the query. Name Field1 is ambiguous inside Custom SQL Query at [62:33]

My BQ Query seems to work fine in BQ, but when copy paste in Tableau the above error shows. In order for me to track the error, I want to understand the error message.

What does [62:33] refer to? My query is only 47 lines of code, so I can't really seem to grasp the meaning of this notation...

In Addition, I learn from tableau online training.
 
Thank you in advance.

Python Code Error

862views
1answer
0votes
image placeholder
James Harry, Digital Trainer at igmGuru

answered  Oct 17, 2022

Hy Guys,

CCSP Course

With the help of this CCSP online training certification course, develop your knowledge of cloud security architecture, design, applications, and operations. You will get step-by-step instructions and a comprehensive lesson plan that is simple to follow covering every aspect of the CCSP, which will help you further your career in the expanding sector of cloud security.

image placeholder
anonymous

asked  Apr 4, 2022

image placeholder
anonymous

asked  Nov 12, 2021

image placeholder
anonymous

asked  Oct 29, 2021

What is data profiling in ETL?

2.1 Kviews
1answer
0votes
image placeholder
Zaid md

answered  Mar 18, 2022

Data Profiling in ETL

The ETL data source is a collection of detailed data. It seeks to understand the structure, value, and significance of information and its relation to other information. This is done through Extraction, Conversion, and Upload (ETL) and helps companies find the information they need for their purposes.

image placeholder
anonymous

asked  Jun 14, 2021

image placeholder
Zaid md

answered  Mar 18, 2022

Relational Database (RDBMS)

  • RDBMS is a DBMS that enables the organization of aggregated data.
  • Relational DBMS is the most widely used database like Oracle, SQL Server. It is characterized by handling data in tables with basic keys that make it possible to identify the rows in each table separately. And an external key that allows you to associate the table with other tables.

OLAP (Online Analytical Processing)

  • OLAP is a collection of software tools that provide information to business decision-makers.
  • OLAP usually works on a standardized database to facilitate OLAP, not OLTP. These databases are often referred to as data warehouses.
  • You can check the comparison and key differences between OLAP vs OLTP here