This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import multiprocessing | |
import pymongo | |
import pandas as pd | |
import os | |
''' | |
Article - https://truptishetty.medium.com/how-to-upload-huge-csv-data-faster-28f27114cb22 | |
''' | |
class CSVData: | |
def __init__(self, server_name, port, db_name, file_name): | |
self.server_name = server_name |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import xlwt | |
from django.http import HttpResponse | |
from django.core.exceptions import FieldDoesNotExist | |
from django.utils.encoding import force_text | |
from django.conf.urls import url | |
from django.contrib import admin | |
import six | |
''' |