You can also try this :
df = DataFrame(series).transpose()
Using the transpose() function you can interchange the indices and the columns.
The output looks like this :
a b c
0 1 2 3
Related Contents:
- Create a Pandas Dataframe by appending one row at a time
- How do I count the NaN values in a column in pandas DataFrame?
- Import multiple csv files into pandas and concatenate into one DataFrame
- how to sort pandas dataframe from one column
- How to reset index in a pandas dataframe? [duplicate]
- Dropping infinite values from dataframes in pandas?
- Find row where values for column is maximal in a pandas DataFrame
- Convert columns into rows with Pandas
- Drop columns whose name contains a specific string from pandas DataFrame
- Conditional Replace Pandas
- Removing index column in pandas when reading a csv
- Pandas DataFrame to List of Lists
- How to get the first column of a pandas DataFrame as a Series?
- How to convert SQL Query result to PANDAS Data Structure?
- Strings in a DataFrame, but dtype is object
- Plotting categorical data with pandas and matplotlib
- Custom sorting in pandas dataframe
- How can I filter lines on load in Pandas read_csv function?
- Pandas: create two new columns in a dataframe with values calculated from a pre-existing column
- In pandas, is inplace = True considered harmful, or not?
- Count unique values using pandas groupby
- pandas groupby without turning grouped by column into index
- pandas: to_numeric for multiple columns
- pandas .at versus .loc
- Pandas get the most frequent values of a column
- Convert Select Columns in Pandas Dataframe to Numpy Array
- Querying for NaN and other names in Pandas
- Replacing Header with Top Row
- How do I properly set the Datetimeindex for a Pandas datetime object in a dataframe?
- Select only one index of multiindex DataFrame
- Python – rolling functions for GroupBy object
- How do I add a title and axis labels to Seaborn Heatmap?
- Can pandas groupby aggregate into a list, rather than sum, mean, etc?
- Getting Google Spreadsheet CSV into A Pandas Dataframe
- Converting Pandas dataframe into Spark dataframe error
- Drop all data in a pandas dataframe
- How to remove a pandas dataframe from another dataframe
- Convert float64 column to int64 in Pandas
- Getting the integer index of a Pandas DataFrame row fulfilling a condition?
- How to obtain sheet names from XLS files without loading the whole file?
- Repeat Rows in Data Frame n Times [duplicate]
- How to insert a pandas dataframe to an already existing table in a database?
- Remove first x number of characters from each row in a column of a Python dataframe
- Reset a column’s MultiIndex levels
- Filter data frame based on index value in Python [duplicate]
- Convert Pandas Series to DateTime in a DataFrame
- When using a pandas dataframe, how do I add column if does not exist?
- Pandas: Get Dummies
- How can I remove all non-numeric characters from all the values in a particular column in pandas dataframe?
- Pandas: Multilevel column names