Azure synapse pipelineでのデータ変換について

NishimuraChinatsu-9854 756 Reputation points
2022-06-06T07:12:23.427+00:00

azure synapseのパイプラインでExcelデータの.xlsxからcsv変換のやり方のやり方がわからないです。Microsoftのドキュメントが分かりにくく理解できないので、画像付きでご教授して頂きたいです。

Converted Japanese => English language:

About data conversion in Azure synapse pipeline

I don't know how to convert .xlsx to csv of Excel data in azure synapse pipeline. Microsoft's documentation is confusing and incomprehensible, so I would like you to teach with images.

Azure Data Lake Storage
Azure Data Lake Storage
An Azure service that provides an enterprise-wide hyper-scale repository for big data analytic workloads and is integrated with Azure Blob Storage.
1,340 questions
Azure Data Explorer
Azure Data Explorer
An Azure data analytics service for real-time analysis on large volumes of data streaming from sources including applications, websites, and internet of things devices.
480 questions
Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
4,367 questions
Azure Data Lake Analytics
{count} votes

Accepted answer
  1. PRADEEPCHEEKATLA-MSFT 77,081 Reputation points Microsoft Employee
    2022-06-07T06:30:45.683+00:00

    Hello @NishimuraChinatsu-9854 ,

    Thanks for the question and using MS Q&A platform.

    MS Q&A platform is only support question in English language only.

    As the question is posted in posted in Japanese language, I had used Google translator to convert to English.

    As I understand, you want to convert .xlsx to csv of Excel data in azure synapse pipeline.

    You can use pandas to convert Excel to CSV in Azure Synapse Analytics.

    The below code snippet helps to convert Excel to CSV:

    #importing pandas as pd  
    import pandas as pd  
      
    # Read and store content  
    # of an excel file  
    read_file = pd.read_excel ("Test.xlsx")  
      
    # Write the dataframe object  
    # into csv file  
    read_file.to_csv ("Test.csv",  
    				index = None,  
    				header=True)  
    	  
    # read csv file and convert  
    # into a dataframe object  
    df = pd.DataFrame(pd.read_csv("Test.csv"))  
      
    # show the dataframe  
    df  
    

    208952-image.png

    Hope this will help. Please let us know if any further queries.

    ------------------------------

    • Please don't forget to click on 130616-image.png or upvote 130671-image.png button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
    • Want a reminder to come back and check responses? Here is how to subscribe to a notification
    • If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators

0 additional answers

Sort by: Most helpful