Notifications
Clear all
copying an index
Analytica Q&A
2
Posts
1
Users
0
Reactions
650
Views
Aug 09, 2023 12:00 pm
(@ddb8zvbjy5qer2dwyzwynjlpc543)
Active Member
Joined: 3 years ago
I want two indexes, each with the same set of elements in the same order. So I figured I could use Subset to do it, by taking a subset according to a criterion that is always true: Idx := ['a', 'b', 'c']  and CopyIdx := Subset(Idx,1,Idx). But I don't get letters in CopyIdx, I get numbers. What gives? How do I get a copy?
1 Reply
Aug 09, 2023 12:08 pm
(@ddb8zvbjy5qer2dwyzwynjlpc543)
Active Member
Joined: 3 years ago
Never mind. Subset(idx) works. Sorry. It wouldn't let me delete the question.
Reply
Forum Information
- 4 Forums
- 86 Topics
- 293 Posts
- 1 Online
- 1,849 Members
Our newest member: Michele Tavernini
Forum Icons:
Forum contains no unread posts
Forum contains unread posts
Topic Icons:
Not Replied
Replied
Active
Hot
Sticky
Unapproved
Solved
Private
Closed