Questions tagged [period]

A period of time is an interval, a span of time. You can also use it for questions related to the actual punctuation mark.

508 questions
0
votes
0 answers

Teradata "Period" data type triggering error

I just downloaded the TDExpress VM, and when I try to create tables with a column that has a period data type (for example period(date)), I get an error that says "an index is not supported by the period column"...however according to this link it…
Jacob Alley
  • 767
  • 8
  • 34
0
votes
0 answers

Is it possible to use in perf as sampling period the number of cycles?

I have tried to measure the performance counters using perf for different sampling periods and for this I used the -I option. But this measures the sampling interval in milliseconds. Is it possible to use with perf a sampling interval measured in…
AN00
  • 325
  • 4
  • 13
0
votes
0 answers

pandas: make a period range with 25 hours by combining days and ghours

I am trying to create a period range with a frequency of 25 hours. I noticed that this works fine: p1 = pd.period_range('2016-01-01 10:10', freq = '25H', periods = 10) In particular, it produces the expected result: PeriodIndex(['2016-01-01 10:00',…
helloB
  • 3,472
  • 10
  • 40
  • 87
0
votes
1 answer

How can I group by a time interval inside a specific period?

Given the following structure and data: user initial_date final_date 'JOHN' '2016-05-05 18:21:51', '2016-05-05 18:50:34' 'JOHN' '2016-05-05 18:51:44', '2016-05-05 19:10:54' And considering the period between 2016-05-05 00:00:00 and…
deldev
  • 1,296
  • 18
  • 27
0
votes
1 answer

RxJava emit items with different periods

I have a Hashmap: private HashMap> contentHashMap; Every EmitedItem is public class EmitedItem { public int duration; public String title;} And I must get first element from every ArrayList immediately, and then…
Aleksandr Gorshkov
  • 473
  • 1
  • 6
  • 16
0
votes
1 answer

Grouping Period series values in Pandas

Following on from Reading CSV file in Pandas with historical dates I have some CSV data in the form: Object,Earliest Date Object1,01/01/2000 Object2,01/01/1760 Object3,01/01/1520 ... which I've now read into Pandas (using Period to handle…
Richard
  • 109
  • 1
  • 11
0
votes
1 answer

Tests to Compare Sales Mix Percent between Periods

Background I wish to compare menu sales mix ratios for two periods. A menu is defined as a collection of products. (i.e., a hamburger, a club sandwich, etc.) A sales mix ratio is defined as a product's sales volume in units (i.e., 20 hamburgers)…
AWaddington
  • 725
  • 8
  • 18
0
votes
2 answers

Time division (Period) Selection in vhdl

I am currently doing a project in VHDL in which I have a counter that needs to be updated in 100ms or in 1000 ms if a Key is pressed. Example: If Key3=0 then c=c+1 (100ms) elsif key3=1 then c=c+1 (1000ms) I'd like to know how to do it in VHDL. I…
0
votes
1 answer

sql view refresh with period

I'm able to create a sqlview with peroid(.) create view [a.b] as select 1 as A but sp_refreshview [a.b] gives error: Msg 15165, Level 16, State 1, Procedure sp_refreshsqlmodule_internal, Line 55 Could not find object 'a.b' or you do not have…
Muruga
  • 11
  • 3
0
votes
0 answers

Matlab symbolic equation rearranging

I'm trying to plot the boundaries of Arnold tongues (the regions were periodic solutions exist) for the circle map, f(x) = 2x + a + b*sin(2*pi*x)/pi mod 1. These are defined when f^n(x)=x and d/dx(f^n(x)) = 1, where f^n(x) represents iterating the…
Rob
  • 1
  • 1
0
votes
0 answers

Python: find the highest number of time overlap

I have a nested list: [['2012 Mar 03 23:39:46', '2012 Mar 03 23:39:58'], ['2012 Mar 03 23:32:46', '2012 Mar 03 23:32:46'], ['2012 Mar 03 23:12:19', '2012 Mar 03 23:12:19'], ['2012 Mar 03 23:06:50', '2012 Mar 03 23:08:03'], ['2012 Mar 03 22:57:28',…
Aggie
  • 1
  • 3
0
votes
0 answers

How to convert period of tickdata?

How to convert nTime to TimeSpan? uint nTime = 9012245; // 9 = Hour 01 = Minutes 22 = Seconds 45 = Milliseconds tickdata[0] = {9010145,Price,Volume} tickdata[1] = {9010253,Price,Volume} tickdata[2] = {9010253,Price,Volume} tickdata[3~7] =…
DavidLu
  • 33
  • 1
  • 7
0
votes
0 answers

MDX Calendar period vs Financial Period

I need to create a calculated measure on a cube measuring costs in the financial YTD. The dimension available to me has only period values available for the Calendar Period and Financial Period (i.e. 200101, 200102, etc). Example Data in Dimension…
Ivan
  • 1
0
votes
3 answers

How to get palindrome program to not recognize whitespace and to end with a period?

I need help I have tried looking up many methods but can't seem to get it to work. I need this to not recognize white space, so if the user inputs le vel , it should say ,"Yes it is a Palindrome", just like if it was level //with no whitespace. The…
Mrs.Brightside
  • 115
  • 1
  • 1
  • 12
0
votes
1 answer

JodaTime PeriodFormatter

I have the following PeriodFormatter: PeriodFormatter periodFormatter = new PeriodFormatterBuilder().printZeroAlways().minimumPrintedDigits(2).appendHours().appendSeparator(":") …
quma
  • 5,233
  • 26
  • 80
  • 146