Using Python need code output should be like this: {1900.0: 22, 1901.0: 1, 1910.0: 2, 1922.0: 4,
Fantastic news! We've Found the answer you've been seeking!
Question:
Using Python need code
output should be like this:
{"1900.0": 22, "1901.0": 1, "1910.0": 2, "1922.0": 4, ... "1995.0": 256, "1996.0": 124, "1997.0": 94, "1998.0": 59, "1999.0": 17}
output should be sorted and 1900.00,1901.0,..... should contain double quotes and
should remove nan values in output using math.isnan()
the output should come like this
{"1900.0": 22, "1901.0": 1, "1910.0": 2, "1922.0": 4, ... "1995.0": 256, "1996.0": 124, "1997.0": 94, "1998.0": 59, "1999.0": 17}
Citibike.csv link
https://1drv.ms/x/s!AsX4xuU9Gr0ogRqQoVLW_nLvZgzH
Related Book For
Income Tax Fundamentals 2013
ISBN: 9781285586618
31st Edition
Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill
Posted Date: