Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Azure by (5.8k points)

Is there a way using Azure ML to edit a column of DateTime values so that the dates are set relative to a different date, e.g. the min date in the data set?

1 Answer

0 votes
by (9.6k points)

You can do it with the help of a function called TimeSpan. You can write your script in R/Python. For example:

df <- maml.mapInputPort(1)

df$mydate <- df$mydate - min(df$mydate)

maml.mapOutputPort("df");

Browse Categories

...