#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Created on Thu May 16 12:39:51 2019

@author: victorgois
"""
import pandas 
import numpy

def convert_col():

    import pandas

    data = pandas.read_csv('Users#15m.csv', header=0) #tentar header =1

    col_a = list(data.from_user)

    return (col_a)

    #res = convert_col()
    #print(res)


def divide_chunks(data, n): #Esta funcionando a divisão por 10

    import pandas

    chunks = [data[x:x+10] for x in range(0, len(data), 10)]

    #df_chunks = pd.DataFrame(chunks)

    return(chunks)
