bluethundr12

Untitled

May 31st, 2020
32
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. code
  2. ---
  3. newframe=pd.concat(frames,axis=1)
  4.  
  5. error:
  6. ---
  7.  
  8. `Traceback (most recent call last):
  9. File "aws_get_memory.py", line 370, in <module>
  10. main()
  11. File "aws_get_memory.py", line 356, in main
  12. convert_to_csv(csv_path,text_path,hosts_list)
  13. File "aws_get_memory.py", line 166, in convert_to_csv
  14. newframe=pd.concat(frames,axis=1)
  15. File "/home/tdun0002/.local/lib/python3.6/site-packages/pandas/core/reshape/concat.py", line 284, in concat
  16. return op.get_result()
  17. File "/home/tdun0002/.local/lib/python3.6/site-packages/pandas/core/reshape/concat.py", line 497, in get_result
  18. mgrs_indexers, self.new_axes, concat_axis=self.axis, copy=self.copy
  19. File "/home/tdun0002/.local/lib/python3.6/site-packages/pandas/core/internals/managers.py", line 2027, in concatenate_block_managers
  20. return BlockManager(blocks, axes)
  21. File "/home/tdun0002/.local/lib/python3.6/site-packages/pandas/core/internals/managers.py", line 139, in __init__
  22. self._verify_integrity()
  23. File "/home/tdun0002/.local/lib/python3.6/site-packages/pandas/core/internals/managers.py", line 334, in _verify_integrity
  24. construction_error(tot_items, block.shape[1:], self.axes)
  25. File "/home/tdun0002/.local/lib/python3.6/site-packages/pandas/core/internals/managers.py", line 1694, in construction_error
  26. raise ValueError(f"Shape of passed values is {passed}, indices imply {implied}")
  27. ValueError: Shape of passed values is (454, 3), indices imply (74, 3)`
RAW Paste Data