fbcrawl/post_processing.py
2018-08-26 17:09:16 +02:00

15 lines
325 B
Python

#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Sun Aug 26 16:16:58 2018
@author: rugantio
"""
import pandas as pd
df = pd.read_csv('./exploit.csv')
df['date'] = pd.to_datetime(df['date'])
df = df.sort_values(by='date',ascending=False)
df.to_csv('./exploit_sorted.csv',index=False, float_format = '%.12g')