Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Clare Matthews

Clare Matthews

Community Learner
Share
50Questions
48Answers
142.5KViews on questions

how to exit a python script in an if statement

To stop code execution in Python you first need to import the sys object. After this, you can then call the exit() method to stop the program from running. You can follow this: while True: answer = input('Do you want to continue?:') if answer.lower().startswith("y"): print("ok, carry on then") elif…

Python

Answered Jul 27, 2021 · 58.7K Views Read answer →

Why getting error during sql server 2014 enterprise edition download ?

Here are the Steps for sql server 2014 enterprise edition download Step 1: Click on the downloaded file and Run the file. Step 2: Accept the license terms and click Next. Step 3: On the Feature Selection screen, keep the defaults. Step 4: On instance configuration screen, select “Named Instance” and name the database…

SQL Server

Answered Jul 19, 2021 · 831 Views Read answer →

Convert array of indices to 1-hot encoded numpy array

Numpy one hot encoding can be done by following steps as mentioned below: rows = np. arange(data. size) print(rows) one_hot[rows, data] = 1. print(one_hot)OR You can also refer to the following code it may help. >>> x = [1, 0, 3] >>> z = np.max(x) + 1 >>> np.eye(z)[x] array([[ 0., 1., 0., 0.], [ 1., 0., 0., 0.], [ 0.,…

Devops

Answered Jul 1, 2021 · 2.7K Views Read answer →

What is RPD in OBIEE?

OBIEE RPD stands for Rapid File Database. It is a repository that helps in storing the metadata of the BI Server. The meta data allows you to define logical and physical schemas, aggregate table navigation, and physical-to-logical mappings. Further, you can also edit the Oracle BI repositories with the use of the…

Devops

Answered Jul 1, 2021 · 8.9K Views Read answer →

Can you explain Converting and Subtracting Two Dates?

This is fairly simple to achieve, the below example code shows how to do this (replace the DueDate variable with your DUE DATE column from your table. Basically, you use DATEDIFF to get the start of the month for DUE DATE, add one month to this date then subtract one day. This will always give you the EOM date for the…

SQL Server

Answered Apr 23, 2021 · 728 Views Read answer →

I need to create a side by side bar chart and need to also show trend there To show the trend line in the report, your report should satisfy the below condition-

So, if you’re fulfilling the requirement then the trend line can be done. For example, if I have to create a side-by-side chart for yearly sales trends for different categories then we can show trend. All you have to do is convert the year from discrete to continuous to satisfy the trend line requirement. Once done…

Tableau

Answered Dec 10, 2019 · 1.4K Views Read answer →

How I can apply sorting on a measure

To apply sorting on the measure, just duplicate that measure and place it in the first place in the row shelf. For example, if we want to sort on sales then simply create a report for category vs sales. And then drag sales again in row shelf by pressing ctrl button. Make sure to keep the duplicate sales measure in…

Tableau

Answered Dec 5, 2019 · 1.2K Views Read answer →

More members from the Salesforce community

Learners asking and answering questions on the same topics — follow their questions and join in.

Latest Salesforce Blogs

Guides, tips and career advice on Salesforce from JanBask experts.

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.