Top "Calculated-columns" questions

A calculated column is calculated from an expression that can use other columns in the same table

Use value of a column for another column (SQL Server)?

lets say I have a huge select on a certain table. One value for a column is calculated with complex …

sql sql-server calculated-columns
SQL Server add computed column in VIEW with conditions

Here is my situation: In my table i two fields: - Price (decimal (15,4) - TaxId (int) TaxId value is not …

sql sql-server-2008 calculated-columns sql-view
SQL Server Reference a Calculated Column

I have a select statement with calculated columns and I would like to use the value of one calculated column …

sql-server tsql calculated-columns
Add column to the end of Pandas DataFrame containing average of previous data

I have a DataFrame ave_data that contains the following: ave_data Time F7 F8 F9 00:00:00 43.005593 -56.509746 25.271271 01:00:00 55.114918 -59.173852 31.849262 02:00:00 63.990762 -64.699492 52.426017 I …

python pandas dataframe calculated-columns
Use a calculated column in a where clause

I'm trying to use a calculated column in a where clause. I've trying everything from CROSS APPLY, to sub-query select …

sql-server tsql where-clause calculated-columns
Python: create a new column from existing columns

I am trying to create a new column based on both columns. Say I want to create a new column …

python pandas missing-data calculated-columns
Create Computed Column using data from another table

I have a SQL Server 2008 R2 database. This database has two tables called Pictures and PictureUse. Picture table has the …

sql sql-server sql-server-2008 tsql calculated-columns
How do I create a new column based on multiple conditions from multiple columns?

I'm trying add a new column to a data frame based on several conditions from other columns. I have the …

r if-statement dataframe calculated-columns multiple-conditions
Calculated properties in Entity Framework

Suppose I have an Employee object with the following properties: string Name { get; } float Hours { get; } float Wage { get; } I …

.net entity-framework calculated-columns
How to compute weighted sum of all elements in a row in pandas?

I have a pandas data frame with multiple columns. I want to create a new column weighted_sum from the …

python pandas dataframe calculated-columns weighted-average