1
This commit is contained in:
1 parent
4b34149a00
commit
498f70aa2f
1 file changed
+6
-1
@@ -223,6 +223,11 @@ class DailyRoundUpAPIView(APIView):
|
|||||||
|
|
||||||
def post(self, request):
|
def post(self, request):
|
||||||
file = request.data['dailyfiles']
|
file = request.data['dailyfiles']
|
||||||
df = pd.read_excel(file)
|
ed = pd.read_excel(file)
|
||||||
|
df = pd.DataFrame(ed)
|
||||||
|
df.columns = ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l"]
|
||||||
|
# for x in range(12):
|
||||||
|
# print(x,'!!!!!!!!!!!!!!!!!!!!!!!!!!!')
|
||||||
|
# df.rename( columns={x :f"{x+1}"}, inplace=True )
|
||||||
print(df)
|
print(df)
|
||||||
return Response('')
|
return Response('')
|
||||||
Reference in new issue
Block a user