Author Archives: stashell

C# snippet : JSONify object

One of my most favorite C# snippet is following oneliner useful when quick debugging or checking on something is needed.

Which returns String containing JSON representation of arbitrary C#… Read more »

You must set this property to a non-null value of type ‘System.Int64’.

Recently I encountered following problem in C#.

This error is pretty obvious in certain context, but if you don’t read it carefully enough, in some situations you might get… Read more »

Python – Pandas : Select CSV records by criteria

Having CSV file like this loaded as pandas dataframe

I am interested only in records with latitude>10 and longitude