We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
sf.apply
Using danfo-node, with node 16...
timestamp is a column created from new Date() instance
timestamp
new Date()
const sfHourly = df.column('timestamp').apply((date) => { const dt = new Date(date); dt.setMinutes(0); return dt; });
This code throws the following message TypeError: arr.slice is not a function
TypeError: arr.slice is not a function