Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Dia Shrinidhi

Dia Shrinidhi

Community Learner
Share
16Questions
16Answers
31.3KViews on questions

How to use pandas to write a script for adding a new Column in a database?

In the context of Python programming language, add a new Column “review_length” to your particular data frame review_df which can contain the length of each review in the review_text by using the following steps:- Importing required libraries You should try to ensure that you have pandas imported. Loading or creating…

Python

Answered Jul 16, 2024 · 708 Views Read answer →

How to use “np.in” to filter prohibited values?

In the context of Python programming language, you can filter out the entries from a Numpy-based array which are presented in a list of the prohibited values by using the “np.in1d” by using the logical negotiation(-) to create a mask which can select only the values of which are not in the prohibited list. Here is how…

Python

Answered Jul 8, 2024 · 664 Views Read answer →

How to resolve the modul enotfound rror?

The error message is seen when you don’t install the opencv module in the system. Hence it is important to check whether the module is available or not. The error may occur when you don’t contain the module you attempted to import or you misspelled the module. Also using a wrong casing for the module while importing…

Python

Answered Aug 8, 2023 · 976 Views Read answer →

How to resolve mongoose casterror to object id?

The below-written code can be used to fix the casterror: cast to objectid failed for value. My schema: Const product = new mongooseClient.schema({ retailer ID : { type: mongoose.schemaTypes.ObjectId, Required: true, index: true } }); And then, when inserting: retailerID: ${retailer._ id} You need to cast the data to…

Python

Answered Jul 27, 2023 · 2.2K Views Read answer →

How do I find long running queries in SQL server with process ID, Process name, login time, user, start time, and duration?

A tool sp_wholsActive is there to view what’s running when you launch the script or you can execute it in loops to observe certain action, like slow queries. If you wish to run a loop see this, How to Log Activity using sp_whoisactive in a Loop to detect slow queries. You can also utilize DMV’s to fetch the slowest…

SQL Server

Answered Jul 26, 2023 · 1.3K Views Read answer →

What is the Salesforce Opportunity Product?

Salesforce Opportunity Product (API name OpportunityLineItem) is a Junction Object between Opportunity and Product2 . An opportunity has to be linked to the Product for generating order or to do Quote management going ahead .The products linked to opportunity are known as opportunity line Item or opportunity product…

Salesforce

Answered Jun 12, 2023 · 1.2K Views Read answer →

How to format the lightning-output-field in a grid with LWC?

To format the lightning-output-field in a grid with LWC, don't use here; this causes odd behaviour in conjunction with SLDS styles. Each element needs to be in its own layout container: Note that the default grid goes left to right, so we interleave the left and right columns here. You can also use lightning-layout…

Salesforce

Answered May 15, 2023 · 1.4K Views Read answer →

How to use SOQL Count()?

You would want to use an AggregateResult query here. This is obviously just some shorthand code as I really don't know your object or field names so you will have to adjust those to fit in order for this to compile for you AggregateResult[] ARs = [SELECT count(Id) myCount, Cabin_Type__c, Deck_Type__c FROM cruise_…

Salesforce

Answered May 12, 2023 · 1.1K Views Read answer →

Can we use sender authentication private domain?

You will be able to send from the top level domain of your company (e.g. as john@company.com) by purchasing and configuring a sender authentication Private Domain on your company.com domain. Assuming you already have your SAP in place on e.g. marketing.company.com. Those that need to be within the same top domain as…

Salesforce

Answered May 11, 2023 · 999 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.