Lesson 3 - Data Manipulation Part 3

I keep getting an Assign Faulted exception. How do I fix this?

filteredData = sampleData.Select(“Age<40 And Income>'40k”)

@tlangfo Maybe the missing ’ after 40k?

1 Like

That didn’t work.

1 Like

The exception is “cannot find column [Age]”

I’m wondering if this has something to do with the Write Line
sampleData.Rows(0)(“Name”).ToString

I got it to work. There were spaces in my csv file. Thank you!

@tlangfo You bet.

1 Like