You can name the dataframe with the following, and then call the name wherever you like:
import pandas as pd
df = pd.DataFrame( data=np.ones([4,4]) )
df.name="Ones"
print df.name
>>>
Ones
Hope that helps.
Related Contents:
- How to iterate over rows in a DataFrame in Pandas
- Combine two columns of text in pandas dataframe
- Creating an empty Pandas DataFrame, then filling it?
- 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]
- Pandas index column title or name
- Get column index from column name in python pandas
- Pandas DataFrame to List of Dictionaries
- How to take column-slices of dataframe in pandas
- Find row where values for column is maximal in a pandas DataFrame
- Add x and y labels to a pandas plot
- Pandas dataframe fillna() only some columns in place
- How do I retrieve the number of columns in a Pandas data frame?
- Pandas: sum DataFrame rows for given columns
- How to access pandas groupby dataframe by key
- Drop columns whose name contains a specific string from pandas DataFrame
- Get total of Pandas column
- How to get the first column of a pandas DataFrame as a Series?
- Making heatmap from pandas DataFrame
- selecting from multi-index pandas
- Splitting dataframe into multiple dataframes
- Forcing pandas .iloc to return a single-row dataframe?
- Replace invalid values with None in Pandas DataFrame
- move column in pandas dataframe
- pandas groupby without turning grouped by column into index
- pandas .at versus .loc
- Pandas get the most frequent values of a column
- Set value to an entire column of a pandas dataframe
- Aggregation in Pandas
- making matplotlib scatter plots from dataframes in Python’s pandas
- How to slice a pandas DataFrame by position?
- Pandas apply but only for rows where a condition is met
- Conditionally fill column values based on another columns value in pandas
- TypeError: first argument must be an iterable of pandas objects, you passed an object of type “DataFrame”
- Python Pandas iterate over rows and access column names
- Selecting columns by list (and columns are subset of list)
- How to insert a pandas dataframe to an already existing table in a database?
- How to convert column with list of values into rows in Pandas DataFrame
- Python pandas: how to remove nan and -inf values
- Remove first x number of characters from each row in a column of a Python dataframe
- assigning column names to a pandas series
- how to reset index pandas dataframe after dropna() pandas dataframe
- Python pandas groupby aggregate on multiple columns, then pivot
- Count number of elements in each column less than x
- Split pandas dataframe in two if it has more than 10 rows
- pandas combine two columns with null values
- Convert Pandas Dataframe to nested JSON
- Convert Pandas dataframe to Dask dataframe